this post was submitted on 29 Jan 2025
136 points (100.0% liked)

Linux

5756 readers
330 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] qaz@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

It is definitely an improvement over Java Swing. One thing I really love and miss with other frameworks is how easy it is to connect properties with each other. All values are exposed as Properties and Values. Values can be listened to, mapped and used. They are similar to RXJS's Observables except that you can always get the internal value without a lastValueFrom that may fail. Properties can also be listened to, mapped, etc but their value can also be set from everywhere (RXJS instead has Subjects which can only be set from inside the constructor). It's a really easy, yet powerfull system. I have yet to find a single framework that does that part as well as it does.

And regarding Rust lack of stable ABI, even if that's resolved (and last time I checked there wasn't much interest from within). The main Linux distributions will still have to ship the Rust stdlib as a shared library to be able to reliably depend on it being available.

I do wonder if it would be advantageous to write a safe wrapper around the C and C++ standard libraries. It would mean being able to use it's functionality, while being relatively sure that those dependencies are available while only having to add a little extra code (and thus size) to the executable for the wrappers.