this post was submitted on 13 May 2024
168 points (94.7% liked)
Linux
48090 readers
761 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not sure at all why to use Rust for a desktop app unless it's something super complex and demanding like a browser (the motivation for developing Rust in the first place). Otherwise use a garbage collected language that handles more bookkeeping for you.. Also the GUI toolkits so far aren't written in Rust afaik.
Hmm would a GUI toolkit or even a window system (X or Wayland server) in Rust count?
Otherwise I mostly want libraries and CLI programs rather than GUI ones. Or a kernel module. Like rewrite btrfs in Rust since the C version is still full of bugs after all these years from what I can tell.
Iced is a Rust GUI toolkit which is high level than any existing toolkits including Qt, GTK etc. System76's COSMIC desktop is developed using Iced. I believe Iced will replace Qt and GTK in Linux space in coming years.
Rust is not only for low level programs, but it's a general purpose high level language for any kind of applications. If the OP wants to go high level than Rust, there's always Haskell which is an older cousin of Rust but with more functional and higher level abstractions.
Why would you say something so controversial yet so brave?
In all seriousness, that sounds like an impossible dream, kinda like the "year of the Linux desktop".
The only question I have with regards to Iced is, how flexible is its theming, cuz COSMIC's theming is not that flexible. It's alright, but not the best.
I guess what constitutes a HLL is a matter of opinion but I think of Rust as low level, like C++ with memory safety. Haskell is high level but introduces its own brand of pain. Most of the imho interesting alternatives are on the exotic side. Maybe things will converge after a while.
Thanks for the link to iced. I'll look into it.