Things Are Getting Rusty In Kernel Land
hackaday.com
external-link
There is gathering momentum around the idea of adding Rust to the Linux kernel. Why exactly is that a big deal, and what does this mean for the rest of us? The Linux kernel has been just C and asse…
@obbeel
link
fedilink
110M

Firefox trusts Rust, I distrust Rust. It’s as simple as that.

Jonny
link
fedilink
1
edit-2
9M

deleted by creator

Amicese
link
fedilink
1
edit-2
19d

deleted by creator

How great is Rust without an operating system? I mean that hosted C++ implementations are great with their algorithms and whatnot, but freestanding implementations don’t actually add too much to plain C.

Amicese
link
fedilink
11
edit-2
19d

deleted by creator

Jonny
link
fedilink
10
edit-2
9M

deleted by creator

@angarabebesi
creator
link
fedilink
310M

Does it run on any modern hardware?

Ephera
link
fedilink
910M

I think, they’re simply aware that few young devs learn C these days. The former Lingua Franca is declining in popularity and if they still want to have devs in twenty years, they need to start making a move now. Porting the whole kernel to a different language is going to take a long time…

Jonny
link
fedilink
2
edit-2
9M

deleted by creator

Ephera
link
fedilink
110M

I’ve had contact with C in a course in university, too, but I never felt anywhere close to as productive as with e.g. Java. Learning C felt more like a historic exhibition than like learning a tool I would actually use.

And yeah, there’s this saying/quote, which goes something like “code is low-level when it concerns itself with uninteresting details”. And C definitely feels like that to me.

Rust has kind of broken that saying, because it allows low-level machine access, but actually offers rather high-level abstractions.
I mean, you do notice that Rust doesn’t use garbage collection, so that is one detail which I largely deem uninteresting as a human that just wants to make things go beep-boop, but yeah, it is still an enormous improvement in the uninteresting details department.

Linux
!linux
Create a post

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

  • 0 users online
  • 1 user / day
  • 14 users / week
  • 39 users / month
  • 221 users / 6 months
  • 7.06K subscribers
  • 1.95K Posts
  • 5.04K Comments
  • Modlog