this post was submitted on 03 Sep 2024
429 points (97.6% liked)

Linux

47347 readers
1268 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
 

Linux people doing Linux things, it seems.

you are viewing a single comment's thread
view the rest of the comments
[–] tux0r 16 points 2 weeks ago (4 children)

even though Rust is objectively better.

In some of its characteristics, Rust is certainly a good language. The borrow checker, however, still haunts my restless dreams today.

[–] pimeys@lemmy.nauk.io 32 points 2 weeks ago

The borrow checker is exactly what the kernel needs.

[–] TimeSquirrel@kbin.melroy.org 8 points 2 weeks ago (4 children)

I'm a C/C++ dude but I heard it being called the "Karen compiler". It doesn't look that scary based on samples I've seen, but there's way more to it I am assuming.

[–] floofloof@lemmy.ca 21 points 2 weeks ago

I'm no Rust expert, but in my experience the borrow checker is a pain for a bit, then you start to get a sense of what works and what doesn't, and after a while it has taught you to write cleaner code.

[–] trevor@lemmy.blahaj.zone 12 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

"Karen compiler" is almost perfect, except unlike Karens, the compiler is delightfully helpful with the error messages it gives you (usually). It usually gives a straightforward error, an error code, and sometimes, an easy fix.

As someone that started with Rust, but just yesterday had to fix some C++ code, working with any other compiled language makes me shudder. I have nothing but respect for devs that have to wade through stuff like that.

[–] floofloof@lemmy.ca 4 points 2 weeks ago

To be fair, most of them aren't as nasty as C++. But Rust certainly gives you a sense of security you don't get with most other languages.

[–] shy_mia@lemmy.blahaj.zone 2 points 1 week ago

At least it has something to complain about, unlike Karens.

[–] tux0r 0 points 2 weeks ago

Ha, I'll steal that! "Karen compiler" - quite fitting, to be honest.

[–] verdigris@lemmy.ml 4 points 2 weeks ago

Oh, so the main reason why it's so good?

[–] pete_the_cat@lemmy.world 2 points 1 week ago

I'm not a software dev (I'm a SysEng), and have never touched Rust (I've looked at the Rust source code and it scares me haha), but I know a fair amount of Go, and even the Go compiler is a pain in the ass occasionally. I've "mother fucked" it so many times.