this post was submitted on 03 Sep 2024
422 points (97.3% liked)

Linux

48330 readers
693 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
[–] [email protected] 16 points 2 months 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.

[–] [email protected] 32 points 2 months ago

The borrow checker is exactly what the kernel needs.

[–] [email protected] 8 points 2 months 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.

[–] [email protected] 21 points 2 months 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.

[–] [email protected] 12 points 2 months ago* (last edited 2 months 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.

[–] [email protected] 4 points 2 months 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.

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 0 points 2 months ago

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

[–] [email protected] 4 points 2 months ago

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

[–] [email protected] 2 points 2 months 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.