Hacker News new | ask | show | jobs
by Flex247A 1855 days ago
May I ask what is so bad about it?
2 comments

The Rust compiler is very slow and has very high memory requirements. Compiling the Kernel on e.g. older Raspberry Pis is already barely possible and will potentially become completely impossible once rust enters the kernel.
Both gcc and rustc are good at cross-compiling.

There are many MCUs that run Linux but definitely are incapable of compiling it.

IIRC most of the build time of a rust program is spent not in the rust compilation proper but in LLVM doing code generation and optimization. I hope both LLVM will become more efficient with time, and rust will learn to pass it such IR that it can process faster. There are obvious incentives for both of these things.

But of course it would be sad if the minimum requirements to compile the kernel grew again, and now excluded older RPis.

gcc and clang are pretty slow on the scale of all programming languages. Rust is basically the only thing that modern C/C++ compilers are faster than. Should we abandon C and C++ for something else then?
Better yet, read the epic rant that Zed Shaw made about Ruby. It is certainly juvenile, but I don’t think it’s baseless. Now, consider that the core members of the rust community are exactly the same people he was talking about when rails was the new shiny.
I don't think that's true. Yehuda and I would be the two people you're talking about (And Yehuda doesn't work on Rust anymore) and we both, as far as I know, appeared a few years after that rant.
A bit of an ad hominem, but Zed Shaw’s rants tend to not be the pinnacle of reasoning.