Now the all new custom math parser has been merged in Graphs, we officially have more lines of #Vala than #Python.

Thanks cmkohnen, the other Graphs-maintainer who has been working on this. Now we no longer depend on regex hackery for parsing equations, which is always a bit brittle. Also comes with a significant performance boost.

#GNOME #GNOMECircle #ValaLang

If you want to learn Gtk programming

No matter what language you want to use to program your Gtk app, read the Python tutorial to get started, even if you are not going to write your app in Python.

So far it has been the most comprehensive and well-written tutorials I have ever seen for Gtk, and explains important concepts even better than the official documentation does. What applies to Gtk programming Python applies to most any other programming language as well, especially scripting languages, so what you learn from this tutorial will apply to your use case as well.

Gtk is a cross-platform GUI toolkit that serves as infrastructure for Linux/BSDUnix desktop environments like Gnome, Cinnamon, MATE, and Xfce. Gtk apps can build and run on Mac OS and Windows without too much difficulty. Though Gtk is written in C it supports very a wide range of programming languages for application programming such as Python, JavaScript, Ruby, Lua, most of Lisp the Lisp family, Java, Vala, C#, even C++ if you are a masochist. Because of this, it never occurred to me that if I wanted to learn more about Gtk programming, I should read a tutorial for one specific language (Python). Now that I have read it, I wish I had known this sooner, so I am telling everyone here on the fediverse.

EDIT: I forgot to mention, you can download the entire tutorial locally as HTML, PDF, or EPUB so that you can hack offline as well!

#tech #software #Linux #FreeBSD #OpenBSD #NetBSD #Gtk #GUI #AppDev #NativeApp #NativeAppDev #GnomeDE #MateDE #CinnamonDE #Xfce #Python #Lua #Lisp #JavaScript #Ruby #Lua #Java #ValaLang #SchemeLang #CPlusPlus #GCC #MacOS #MSWindows

The Python GTK+ 3 Tutorial — Python GTK+ 3 Tutorial 3.4 documentation

We did this more than a year ago as well, lets see how things have changed!
What do you use to create your #Vala #GTK apps, or what would you use if you were creating one?

#gnome #elementaryos #appdev #blueprint #gtk4 #valalang #linux #opensource

Blueprint
44.3%
XML
14.3%
Vala code (elementary os app)
20%
Vala code (not elementary os app)
21.4%
Poll ended at .
Todays Vala feature you didn't know about!
This is how easy it is to work with *Glib.Variant*
#Vala #ValaLang
Here is the recording of the lightning talk of our #GSoC student @sudhanshu98t from #GUADEC:
https://youtu.be/ynIKMiRwn3s?t=23988
Please watch! It's very interesting, and has a lot of information about GObject introspection, how vala uses it, and what new features are getting right now implemented!
#Vala #ValaLang #GUADEC2024 #GNOME
- YouTube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

You want to meet #Vala users and contributors, and developers of the platform libraries Vala uses? Come to #GUADEC in Denver or #BerlinMiniGuadec in Berlin, the community and developer conference about #GNOME !
#Guadec2024 #valalang
Michael Catanzaro from #GNOME published yesterday this interesting blog post about binding C libraries and a nice feature of #Vala; at the end there is the convenient solution (you can skip to it if you want ;)
https://blogs.gnome.org/mcatanzaro/2024/07/10/forcibly-set-array-size-in-vala/
#ValaLang #GNOME #GTK #GTK4
Forcibly Set Array Size in Vala – Michael Catanzaro's Blog

Hi there Fediverse 👋,

This is the Mastodon account for the Vala Programming Language - "A Familiar Way To Develop Applications"

Over the years, #vala has been used across the #gnome ecosystem to create #gtk apps, as the main programming language for creating apps in #elementaryos and more.

Now with this Mastodon account, you can see what we're up to and where this language will go next!

#introduction #valalang

I still haven't decided whether to learn Vala or V.
Who can help me make up my mind? 🙏🏻

#vlang #vala #valalang #valac #compiler #programming #programminglanguages