More Rust Code Is Coming For Linux 6.14 Along With Hitting Another "Major Milestone" (www.phoronix.com)
from petsoi@discuss.tchncs.de to linux@lemmy.ml on 20 Jan 12:40
https://discuss.tchncs.de/post/28915220

#linux

threaded - newest

thingsiplay@beehaw.org on 20 Jan 13:46 next collapse

The older the Kernel gets, the more Rust it will get.

petsoi@discuss.tchncs.de on 20 Jan 14:11 next collapse

šŸ˜‚

ravermeister@lemmy.rimkus.it on 20 Jan 18:32 collapse

šŸ¤£šŸ‘Œ

blackberry@midwest.social on 20 Jan 17:18 next collapse

noob here, does this mean rust will come included on Linux, similar to python?

jokro@feddit.org on 20 Jan 17:27 collapse

No. Itā€™s only about the kernel itself, not Linux Systems(aka Distributions).

Earlier the kernel did only consist of C code, but for some time now the option to develop parts of the kernel in Rust is being worked on. In the end it both compiles to native machine code. The running kernel does not require the Rust toolchain to be present.

Ephera@lemmy.ml on 20 Jan 19:59 collapse

Yeah, Python requires a ā€œruntimeā€ program, which interprets the Python code and then translates it into native machine code to actually execute it. Because Rust is compiled directly to native machine code by the developer, you donā€™t need a runtime program on your PC to run Rust programs.

This is also one of the biggest reasons why Rust can be used for kernel development. You cannot rely on a runtime program for developing a kernel, since launching a program requires a kernel to already be up and running.

IrritableOcelot@beehaw.org on 20 Jan 18:47 next collapse

This thumbnail hurts to look at.

refalo@programming.dev on 20 Jan 22:14 next collapse

What OSes do not have any Rust code?

PushButton@lemmy.world on 21 Jan 01:06 collapse

Bsd

Amaterasu@lemmy.world on 20 Jan 23:33 next collapse

I canā€™t have an impression good or bad about this news. Iā€™m not sure if Rust is an interesting thing. I saw people saying good things about it and other talking hellish about the number of dependencies.

I donā€™t program for a long time. Used to like coding in C quite a lot.

PushButton@lemmy.world on 21 Jan 01:09 collapse

Handyman has the solution - literally!