Re:Rust in Linux kernel is just a beginning
by gnull on Tuesday October 25, 2022 @11:50AM
(#33332215)
You misread my comment. I didn't say it was useless, I said there are things with higher priority. And well… unlike Rust, C++ sucked at some of those things too, this I think makes them different.
Rust offers a better trade-off between compilation time and other parameters, than C++.
Re:Rust in Linux kernel is just a beginning
by pclmulqdq on Tuesday October 25, 2022 @03:28PM
(#33335048)
They didn't say it was useless either; they also said it wasn't a high priority. Developer velocity and ergonomics should always be a high priority for compiler writers.
Re:Rust in Linux kernel is just a beginning
by gnull on Wednesday October 26, 2022 @11:59AM
(#33345668)
"High" as in "higher than runtime speed, safety, abstractions, plugin system"? Where would you put it if you had to rank compilation speed with other criteria?
And let's admit even though Rust compilation speed could use some improvement, it's not terrible.
It turns out that compiler speed makes development faster, keeps people interested in the language, and ultimately allows more iterations before release (which can be better for speed and safety than throwing in a bunch of extra compile steps).