logoalt Hacker News

steveklabnikyesterday at 10:28 PM1 replyview on HN

I only have basic constant folding yet in terms of optimizations, but I'm very aware of TCO. I haven't decided if I want to require an annotation to guarantee it like Rust is going to.


Replies

int_19htoday at 9:30 AM

Please require some form of annotation like an explicit `tailcall` operator or something similar. TCO wrecks havoc on actionable backtraces, so it should be opt-in rather than opt-out.

show 1 reply