Tail Call Optimization Implementation in JavaScript Engines (stackoverflow.com) 3 points by mmsc 1y ago ↗ HN
[–] starmole 1y ago ↗ Be amazed by learning about tail calls in WASM:https://v8.dev/blog/wasm-tail-callthe key here is that there are new, different opcodes that can be tail call optimized! Because tail call optimizing the old op code would break the spec. It all makes sense, but is kind of amazing.
1 comment
[ 1.9 ms ] story [ 15.3 ms ] threadhttps://v8.dev/blog/wasm-tail-call
the key here is that there are new, different opcodes that can be tail call optimized! Because tail call optimizing the old op code would break the spec. It all makes sense, but is kind of amazing.