Asahi Lina's experience about working on Rust code in the kernel (vt.social)
from that_leaflet@lemmy.world to linux@lemmy.ml on 29 Aug 2024 15:23
https://lemmy.world/post/19191038

This is related to this post: lemmy.world/post/19184514

#linux

threaded - newest

unknowing8343@discuss.tchncs.de on 29 Aug 2024 18:09 collapse

I just wish every programmer completed the rustlings game/tutorial. Doesn’t take that long.

I didn’t even fully complete it, and it made me a way better programmer, because it forces you to think RIGHT.

It may sound weird for people who haven’t experienced it, but it’s amazing when you get angry at the compiler and you realise… It is right, and you were doing something that could f*ck you up 2 months in the future.

And after a bit of practise, it starts wiring your brain differently, and now my Python code looks so much better and it’s way more safe just because of those days playing around in rustlings.

So yeah, Rust is an amazing language for everything, but particularly for kernel development. Either Linux implements it, or it’ll probably die in 30 years and get replaced with a modern Rust kernel (Redox OS?).

someacnt_@lemmy.world on 30 Aug 2024 01:16 collapse

Is rustlings a game? Where can I find it? I can only find a project

unknowing8343@discuss.tchncs.de on 30 Aug 2024 06:35 collapse

It is a project! All games are, 😅, just follow the instructions from the README. You’ll be solving Rust exercises on your preferred editor, and get some feedback from a terminal window. It’s great.

someacnt_@lemmy.world on 30 Aug 2024 07:10 collapse

Welp, that means I set up my neovim with rust as well… will do when I got time!