3 ms·
> a level of sophistication and abstraction that simply doesn't exist today > you need an ultra-sophisticated compiler (as realistic as a unicorn at this poin
by tomp 6y ago
> a level of sophistication and abstraction that simply doesn't exist today
> you need an ultra-sophisticated compiler (as realistic as a unicorn at this point)
Isn't what Zig does, described in the post linked by a few other comments [1], basically this?
[1] https://kristoff.it/blog/zig-colorblind-async-await/ https://kristoff.it/blog/zig-colorblind-async-await/
- dnautics 6y agoYes, and it works quite well. I think it works well because zigs async requires you to think what is actually going on with the data structures at the low level (you have to understand what a frame is, that's a "new" low level construct on the level of "pointer" or "function"), once you get that and understand the control flow it is quite easy to see what's happening.