Programming: Vala, Emojis, Perl, Python and Java

![]()
-
3 Free Books to Learn Vala
Vala is an object-oriented programming language with a self-hosting compiler that generates C code and uses the GObject system.
Vala combines the high-level build-time performance of scripting languages with the run-time performance of low-level programming languages.
Vala is syntactically similar to C# and includes notable features such as anonymous functions, signals, properties, generics, assisted memory management, exception handling, type inference, and foreach statements.
Its developers, Jürg Billeter and Raffaele Sandrini, wanted to bring these features to the plain C runtime with little overhead and no special runtime support by targeting the GObject object system. Rather than compiling directly to machine code or assembly language, it compiles to a lower-level intermediate language. It source-to-source compiles to C, which is then compiled with a C compiler for a given platform, such as GCC.
Did you always want to write GTK+ or GNOME programs, but hate C with a passion? Try Vala.
Vala is published under the GNU Lesser General Public License v2.1+.
-
Back Up Your Data
This post is a public service announcement about backups inspired by the one that got lost. I’ve had my own backups for over 5 years, and never have I lost any data from those backups. So I have a little bit of experience making backups. The following advice is meant for individuals, not a corporate or business setting.
-
Michael Sheldon: Emoji Support for Linux Flutter Apps
Recently Canonical have been working alongside Google to make it possible to write native Linux apps with Flutter. In this short tutorial, I’ll show you how you can render colour fonts, such as emoji, within your Flutter apps.
-
Visual Basics: Codecademy Launches a Course on Coding with Emojis
July 17 was “World Emoji Day,” and so the online learning site Codecademy found a fun way to celebrate. It unveiled a five-hour mini-course teaching Emojicode, a unique programming language that consists entirely of emojis.
“We believe that Emojis have expressive force,” explained the language’s official web page. “Let’s use that to make programming more fun and accessible.”
Originally, Codecademy planned to reveal the mini-course on April Fool’s Day, but was delayed in the height of the world dealing with the COVID-19 pandemic.
-
2020.30 Almost On Time
Alexander Kiryuhin announced the Rakudo 2020.07 Compiler Release just a few days after the targeted date! The delay was caused by some build breakage introduced just days before the release, which needed to be fixed first. The associated binary packages are available at the expected locations.
-
Polling for fun and engagement
I've been posting some Perl related polls in Perl Programmers over the last few weeks. Despite the obvious weaknesses in the sampling method, they've provided some good insights and great talking points.
-
25 Years of Java: Still as Popular as It's Ever Been
The Java programming language celebrated 25 years on May 23 this year. It was first released by Sun Microsystems in 1995. Two and a half decades on, it remains one of the most popular programming languages.
In 1991, James Gosling, an engineer at Sun Microsystems, began developing a new language that he initially called Oak. Later on, the language came to be known as Java. The purpose of developing this new language was to build a system that would enable a large network of interactive consumer electronic devices that could be managed from a handheld remote controller. The concept didn’t excite the digital cable television industry at that time. Perhaps, it was too advanced for them way back in 1995.
Developers began using Java, however, to develop applications for desktop computers. The Internet was beginning to catch on around the same time. In 1993, the World Wide Web became a public domain, thereby enabling the public to join in the fun. In 1995, the Pew Research Center reported that 14 percent of adults in the US were already “online.” Programmers started using Java for web applications and it soon became the preferred programming language for apps.
Java was better suited for the Internet and enterprise application development than older languages, such as COBOL, C, and C++. It provided support for Internet protocols, such as HTTP. Java enabled easier and faster application programming than COBOL or C because of its object-oriented design, integrated libraries, and run-time error detection capability.
-
Python Multithreading Misconception
One of the misconceptions that developers say that python is too slow and python multithreading sucks. Well, it’s not true. let’s broaden this topic. A lot of pythonists used to say GIL (Global Interpreter Lock) is the cause of the performance of python. They say it prevents you from running more than one thread at a time. You can’t get the real concurrency feature in python. Yes, it’s true but the truth is multithreading is still perfect. Yeah, there are some exceptions which you have to lookout. And depending on the cases, it might need GIL otherwise why to make ur development life harder and being burn out. What Gil restricts that two bytecode can’t run parallelly. Threading can allow concurrency and reduces time consumption, increase performance.
As I mention here about GIL a lot but what actually it is? Well, Gil is a feature of CPython which default python manages memory. but Jython and IronPython lack the GIL coz it’s an implementation detail of the underlying VM. I tired about it and here is the result.
jython.pnglol, they don’t have. They handle dynamic memory differently and can safely run the python code in multiple threads at the same time. And I think Cpython can’t remove the GIL feature too. And what’s the solution in order to achieve Multithreading. Well, Many python libraries bypass multithreading issue by using C/C++ extensions.I recommend multiprocessing to get the benefits of all the cores. One more thing GIL is only a problem in a multiprocessor environment.
-
Python main function
In this tutorial, we will learn how to use a Python program's __name__ attribute to run it dynamically in different contexts.
-
PSF GSoC students blogs: Week 7
-
PSF GSoC students blogs: Week 6
-
PSF GSoC students blogs: Weekly Check-in #5
-

- Login or register to post comments
Printer-friendly version- 2694 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago