3 ms·
It's also hard for me to tell if Zig's async mechanism is a good choice here, tbh. Stackful asymmetric coroutines are a good choice, these are stackless but an
by samatman 5y ago
It's also hard for me to tell if Zig's async mechanism is a good choice here, tbh.
Stackful asymmetric coroutines are a good choice, these are stackless but an error is one stack frame so it's unclear that's a problem in practice.
I shrug a little too much when it comes to Zig, although documentation and tutorials improve every time I come back to take a look.
My main point is that a parse error isn't a program error, even if it's implemented with exceptions unwinding the stack for one reason or another (and this should be avoided if possible).