logoalt Hacker News

monster_truck • 08/15/2026 • 1 reply • view on HN

It's where you jump and then get immediately bounced back. Basically GOTOs with params


Replies

eru • 08/15/2026

If you have proper tail call optimisation, then tail calls are GOTOs with params.

Trampolines allow you to simulate that, even when your compiler / language doesn't handle tail calls properly.