logoalt Hacker News

monster_truckyesterday at 11:49 AM1 replyview on HN

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


Replies

eruyesterday at 2:11 PM

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.