246
submitted 11 months ago by ChiefSinner@lemm.ee to c/linux@lemmy.ml

This isn't Linux, but Linux-like. Its a microkernel built from the rust programming language. Its still experimental, but I think it has great potential. It has a GUI desktop, but the compiler isn't quite fully working yet.

Has anyone used this before? What was your experience with it?

Note: If this is inappropriate since this isn't technically Linux, mods please take down.

you are viewing a single comment's thread
view the rest of the comments
[-] cashews_best_nut@lemmy.world 25 points 11 months ago

I don't understand the obsession with rust.

[-] weclaw@lemm.ee 102 points 11 months ago

From my personal experience I can tell you 2 reasons. The first is that this is the first general purpose language that can be used for all projects. You can use it on the web browser with web assembly, it is good for backend and it also is low level enough to use it for OS development and embedded. Other languages are good only for some thing and really bad for others. The second reason is that it is designed around catching errors at compile time. The error handling and strict typing forces the developer to handle errors. I have to spend more time creating the program but considerably less time finding and fixing bugs.

[-] agent_flounder@lemmy.world 30 points 11 months ago* (last edited 11 months ago)

That sounds pretty great. I get sick of having to switch gears for every layer. As a hobbyist it is tough to remember five or six languages well enough when only coding something a few times a year.

Since I do embedded, scripting, web front and back end this is sure tempting.

I have been hesitant to try to learn yet another language (this would make...ummm.. idk I lost count ages ago). But with all the hype I may break down and give it a whirl.

[-] YIj54yALOJxEsY20eU@lemm.ee 2 points 11 months ago

Sounds like python may be a better fit if its supported on the embedded devices you use as it will cover scripting and backend too. Rust has quite a learning curve and can be rather verbose.

[-] agent_flounder@lemmy.world 3 points 11 months ago

I do use python quite a bit for scripting and backend, app, and I've used MicroPython a little bit, preferring C, C++ for embedded. It's pretty great for what I need.

I might mess around with Rust out of curiosity anyway, though the downsides you mention make it less compelling for me, personally. I'm not a big fan of verbose languages (e.g., Java, though I have used it for some apps).

[-] anton@lemmy.blahaj.zone 3 points 10 months ago

Messing around with rust is certainly worth it, as it can change the way you think in a way that improves code in whatever language you write.

[-] YIj54yALOJxEsY20eU@lemm.ee 2 points 11 months ago

If you are curious definitely do check it out! It's a really cool language to learn and you'll start to enjoy the fight the compiler puts up.

[-] someacnt_@lemmy.world 0 points 10 months ago

Sorry but I don't see the reasoning backing the enthusiasm for python. Sure, it is great for scripting (this includes machine learning), but why for anything else?

[-] YIj54yALOJxEsY20eU@lemm.ee 1 points 10 months ago

An easy language that works everywhere? This person is writing code a few times a year.

[-] LeFantome@programming.dev 0 points 10 months ago

I realize that even $2 systems are running full Linux distros these days but Python does not map to what I think of as “embedded”. If you have a full Python interpreter, it is already a pretty rich environment.

That said, this is what computing is starting to look like. There is less and less “bare metal”. I work with people that claim to be “firmware” engineers and then, when you look, you find out they have a full Ubuntu distro running and they may as well be running on a laptop.

load more comments (56 replies)
this post was submitted on 21 Dec 2023
246 points (96.2% liked)

Linux

48180 readers
793 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS