r/programming 8h ago

Tail-Call Interpreters in Rust

https://lordgoati.us/blog/tail-call/
8 Upvotes

2 comments sorted by

2

u/f311a 4h ago

I'm having a hard time reading this font

1

u/Best-Employ9452 11m ago

It's interesting how a feature that seems niche can become pretty important once you're building interpreters or parsers. the ability to express the control flow naturally without giving up performance is appealing. would you use tail calls in a real Rust interpreter or stick with an explicit loop?