Re:Project Loom and Structured Concurrency
by dnautics on Friday December 04, 2020 @10:49AM
(#25303618)
> but if you want to see a runtime that really has the asynchronous exceptions thing figured out, go look at Erlang.
The erlang VM does indeed have async exceptions, and resource management figured out. Usually you can just kill an erlang process and you don't have to clean up after it's open sockets, file descriptors, etc.
The erlang VM does indeed have async exceptions, and resource management figured out. Usually you can just kill an erlang process and you don't have to clean up after it's open sockets, file descriptors, etc.
It's also possible to hook the C FFI system to take full advantage of that: https://youtu.be/l848TOmI6LI
(Disclaimer: self promotion)