My toy server exhausts memory very quickly because every async function call, whether awaited or not, creates a fiber with a 256 KiB stack.
This part may still be a work in progress, but a stackless coroutine implementation based on state machines would likely be much more memory-efficient.
My toy server exhausts memory very quickly because every async function call, whether awaited or not, creates a fiber with a 256 KiB stack.
This part may still be a work in progress, but a stackless coroutine implementation based on state machines would likely be much more memory-efficient.