News for hackers. Stuff that matters.
Re:Linux kernel in-tree Rust support by FpUser on Saturday July 11, 2020 @09:15PM (#23807764)
What is wrong having 2 versions: slower at runtime but super fast compile for debug and the other way around for production?
Re:Linux kernel in-tree Rust support by necubi on Sunday July 12, 2020 @12:07AM (#23808719)
Of course, that is the status quo for rustc (as it is for all production compilers I know of). The issues are that (1) debug builds are still slow enough to be annoying, and (2) they are sometimes _so much slower_ to execute that a debug build + test run is slower than a release build + run.

A lot of work is being done to address these issues. The big projects I'm aware of are a move to a query-based compiler (which should improve incremental build times) and the new cranelift backend, which should dramatically speed up debug build times.