Re:(On | No) Syntactic Support for Error Handling
by Yoric on Tuesday June 03, 2025 @07:22PM
(#44175827)
Last time I checked, Rust's slow compile times were due to LLVM. In fact, if you want to make Rust faster to compile, you can compile it to wasm using cranelift.
[ Parent
| on HN ]
Re:(On | No) Syntactic Support for Error Handling
by littlestymaar on Wednesday June 04, 2025 @12:59AM
(#44177371)
Not just LLVM in itself but the Front-end codegen: AFAIK the rust front-end emits way too much LLVM IR and then counts on LLVM to optimize and they have been slowly adding optimizations inside the front-end itself to avoid IR bloat.
And there's also the proc macro story (almost every project must compile proc_macro2 quote and syn before the actual project compilation even starts).