Show HN: M3 – A high performance WebAssembly interpreter in C
1–4 of 4 posts
Re: Show HN: M3 – A high performance WebAssembly interpreter in C
#2Re: Show HN: M3 – A high performance WebAssembly interpreter in C
#3This features a shocking dependence on the C compiler doing tail-call optimization. This, I've never seen before. The code probably blows through the stack if it isn't optimized.
Re: Show HN: M3 – A high performance WebAssembly interpreter in C
#4This features a shocking dependence on the C compiler doing tail-call optimization. This, I've never seen before. The code probably blows through the stack if it isn't optimized.
I would have prefered the adjective "clever" over "shocking" :) But you're absolutely correct: it does rely entirely on tail-call optimizations. I hadn't seen this as an actual real world concern. Its stack usage is sufficiently minimal for debugging and development of the project itself. And production code would only ever be optimized. Maybe there are risks I can't foresee, but I'm gonna keep at it 'cause the upsid…