3 ms·
As I understand it, you only need to allocate locals in other languages for stackless coroutines because every return statement is a yield point. I think zig is
by laserbeam 1y ago
As I understand it, you only need to allocate locals in other languages for stackless coroutines because every return statement is a yield point. I think zig is trying a different approach where they can’t get away with that assumption.