Hacker News new | ask | show | jobs
by dapperdrake 499 days ago
Here is a more controversial point: Are you interested in adding a preliminary tail-call instruction?

The WASM spec people rejected it for being too "high-level". But the C committee also rejected proposals from Dennis Ritchie. My money is still on Ritchie. Rob Pike's money seems to be on Ritchie direction as well. Otherwise, why create Golang?

Tail-calls are only high-level if calls are high-level.

1 comments

The WebAssembly tail call proposal has been accepted, finished, and implemented for over two years now. https://github.com/WebAssembly/meetings/blob/main/main/2023/...
And WebKit finally shipped it recently! Love return_call and friends.