News for hackers. Stuff that matters.
Re:Improving Rust compile times to enable adoption of memory... by pjmlp on Friday February 03, 2023 @09:54AM (#34641763)
Both, because some times a little change implies compiling the world due to configuration changes.

Also it is quite irritating sometimes seeing the same crate being compiled multiple times as it gets referenced from other crates.

Ideally Rust could use a dumb compilation mode (or interpreter) for change-compile-debug cycles, and proper compilation for release, e.g. Haskell and OCaml offer such capabilities on their toolchains.

Re:Improving Rust compile times to enable adoption of memory... by titzer on Friday February 03, 2023 @10:14AM (#34642096)
I primarily develop the Virgil compiler in interpreted mode (i.e. running the current source on the stable binary's interpreter). Loading and typechecking ~45kloc of compiler source takes 80ms, so it is effectively instantaneous.
Re:Improving Rust compile times to enable adoption of memory... by sitkack on Friday February 03, 2023 @10:29AM (#34642321)
But you aren't on our timeline and haven't opted into our bullshit.

HTML+Js projects used to be testable with the load of a web page and that community has opt-in to long build times.

Most people are so far away from flow-state that they can't even imagine another way of being.

Re:Improving Rust compile times to enable adoption of memory... by scns on Saturday February 04, 2023 @04:47AM (#34653178)
Mhm, maybe twas a bad idea to start learning React with ReasonML. Being used to compiles in milliseconds made the collision with TS at $Job extra painful.
Re:Improving Rust compile times to enable adoption of memory... by pjmlp on Friday February 03, 2023 @10:23AM (#34642219)
Yeah it works great having toolchains that support all possible execution models.