Re:Bun, JavaScript, and TCO
by hajile on Sunday December 31, 2023 @03:56PM
(#38827449)
This solvable enough by activating a shadow stack. You can also just note on the trace pretty cheaply that X function was called by a tail call function. This eliminates any ambiguity about what happened.
It’s not a different issue from async functions not having a stack trace and JS devs survived for decades without async traces just fine.
It’s not a different issue from async functions not having a stack trace and JS devs survived for decades without async traces just fine.