We are shipping WebAssembly tail calls in V8 v11.2! In this post we give a brief overview of this proposal, demonstrate an interesting use case for C++ coroutines with Emscripten, and show how V8 handles tail calls internally. What is Tail Call Optimization? # A call is said to be in tail position if it is the last instruction executed before returning from the current function. Compilers can opti