5 ms·
Go (and erlang) don't really have async, in the same way. In both of these languages, every function has implicit async yield points (this is? was? actually pr
by throwawaymaths 3y ago
Go (and erlang) don't really have async, in the same way. In both of these languages, every function has implicit async yield points (this is? was? actually problematic in go since a for loop with no function calls can? could in the past? lock up the CPU), but in any case it's not the same conversation as rust/c/c++/zig which have the form of async where you have to explicitly declare your yield points by nature of the effective lack of runtime, or python/js where the vm is not smart enough to put yield points in for you.