logoalt Hacker News

fatty_patty89last Tuesday at 4:27 PM2 repliesview on HN

Java has green threads and c#/.net has logical threads


Replies

kbolinolast Tuesday at 4:38 PM

Yes, I have cleaned up the wording a bit. Also, the common implementation of Rust's async is comparable to green threads, and I think Zig is adopting something like it too.

However, the "normal" execution model on all of them is using heavyweight native threads, not green threads. As far as I can tell, FFI is either unsupported entirely or has the same kind of overhead as Go and Erlang do, when used from those languages' green threads.

show 1 reply
neonsunsetlast Tuesday at 5:50 PM

[dead]