News for hackers. Stuff that matters.
Re:Linus Torvalds on Rust support in kernel by himujjal on Friday April 16, 2021 @02:35PM (#26837471)
I wrote 10kLOC last week. Most of the code didn't require much extra thinking, it was mostly a translation of an old TypeScript project to Zig. But measuring compile times with 10kLOC is really not a good argument.
Re:Linus Torvalds on Rust support in kernel by staticassertion on Friday April 16, 2021 @02:54PM (#26837665)
Well, 15KLOC, and of course not including dependencies. But my point was that there will be a tiny, tiny amount of Rust in the kernel by comparison to the 10s of millions of lines of C code. Rust would have to compile radically slower than C, like hundreds or thousands of times slower, in order to be a limiting factor.