436
submitted 1 month ago by tux0r@feddit.org to c/linux@lemmy.ml

Linux people doing Linux things, it seems.

you are viewing a single comment's thread
view the rest of the comments
[-] tux0r@feddit.org 16 points 1 month ago

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 33 points 1 month ago

The borrow checker is exactly what the kernel needs.

[-] TimeSquirrel@kbin.melroy.org 8 points 1 month ago

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 1 month 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 1 month ago* (last edited 1 month ago)

"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 1 month 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 month ago

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

[-] tux0r@feddit.org 0 points 1 month ago

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

[-] verdigris@lemmy.ml 4 points 1 month ago

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

[-] pete_the_cat@lemmy.world 2 points 1 month 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.

this post was submitted on 03 Sep 2024
436 points (97.2% liked)

Linux

47687 readers
830 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