logoalt Hacker News

hxtkyesterday at 1:26 PM2 repliesview on HN

It’s surprising to me how much people seem to want async in low level languages. Async is very nice in Go, but the reason I reach for a language like Zig is to explicitly control those things. I’m happily writing a Zig project right now using libxev as my io_uring abstraction.


Replies

pjmlpyesterday at 6:22 PM

Using async in low level languages goes all the way back to the 1960's, became common in systems languages like Solo Pascal, Modula-2, with Dr.Dobbs and The C/C++ User's Journal having plenty of articles regarding C extensions for similar purposes.

Hardly anything radical.

show 1 reply
melodyogonnayesterday at 2:28 PM

But Zig's async is being designed to enable this low-level control.