News for hackers. Stuff that matters.
Re:My experience crafting an interpreter with Rust (2021) by bmitc on Saturday March 25, 2023 @08:54PM (#35309375)
> it also doesn't have guaranteed tall-call elimination

I had no idea about that. Is there a specific reason why that choice was made?

Re:My experience crafting an interpreter with Rust (2021) by pornel on Saturday March 25, 2023 @09:02PM (#35309447)
AFAIK guaranteed TCE wasn't supported in LLVM at all when Rust was still being designed and considered adding it. Support for musttail in LLVM has been added relatively recently.

WASM doesn't support guaranteed TCE yet (it's a proposal), and that's an important target for Rust.

https://github.com/rust-lang/rfcs/issues/2691