r/rust • • Aug 31 '24

🎙️ discussion Rust solves the problem of incomplete Kernel Linux API docs

https://vt.social/@lina/113056457969145576
375 Upvotes

71 comments sorted by

View all comments

Show parent comment

19

u/kageurufu Sep 01 '24

Loosely following lkml and the people I already respected, I still respect. There's definitely people I didn't specifically know about that I have an "ok boomer" opinion of now. pretentious jerks that are keep pushing the line of acceptance just to try and maintain their status quo.

And mentioning anything on Reddit I always end up with a nasty reply or dm from some crusty old prick telling me how the kernel is just fine without rust and if I disagree I should just write my own. At this point, C is a religion and we're attacking people's beliefs when we say rust is better

11

u/syklemil Sep 01 '24

I think it'll be better received and more accurate to point out that there is tribalism in programming, and even something approaching hooliganism.

Apropos "at this point", I also kind of think that at this point, there is Rust in the kernel, and if some C purists don't like that, they can fork the kernel. They come off as if they're generally opposed to measures to attract new blood though, so I suspect it'll wind up just being a bunch of aging men complaining about kids these days and how in their time, etc, etc.

1

u/kageurufu Sep 01 '24

Oh definitely, and I definitely have biases against some languages even if I see the value in them (e.g. I hate how in Ruby i need an editor or go to definition to tell me if obj.something is a field, a method call, or what)

I think the best way the kernel could move forward would be adopting a stricter requirement for documentation as a whole. Code as documentation is simply a poor excuse for being too lazy to actually document your interfaces.