3 ms·
While working on effection@v3 (https://github.com/thefrontside/effection https://github.com/thefrontside/effection) we spent a bunch of time ensuring that our d
by qudat 3y ago
While working on effection@v3 (https://github.com/thefrontside/effection https://github.com/thefrontside/effection) we spent a bunch of time ensuring that our delimited continuations could handle deep recursive call stacks in Deno.
PR: https://github.com/thefrontside/continuation/pull/11 https://github.com/thefrontside/continuation/pull/11
TCO would have definitely simplified this issue.
What’s worse is hitting maximum memory callstack exception is very tricky to catch and is not reliable across runtimes. So when a user hits it it can be tricky to track down.