News for hackers. Stuff that matters.
Re:Rust in Linux kernel is just a beginning by jeffparsons on Tuesday October 25, 2022 @07:19AM (#33329017)
I wonder if a solution to your use case could look something like mrustc: https://github.com/thepowersgang/mrustc

The idea here would be to compile in a way that just assumes everything is correct and either crashes catastrophically or produces invalid output otherwise. But in doing so, it should allow at least slightly faster compilation.

You could even remove the need for this "fast and loose" compiler to do any type inference by shipping pre-processed source with all types resolved. However I don't know if this addition would fit your needs if, e.g., your goal is to be able to compile from any given commit rather than only official releases.

At very least it could be an interesting experiment to discover what tradeoffs are possible.

There are no comments on this comment yet.