News for hackers. Stuff that matters.
Re:.NET 5.0 by int_19h on Tuesday November 10, 2020 @03:27PM (#25051440)
- Cannot interop with other languages/VMs that do async differently.

The nice thing about promise-based async is that it's very easy to map to straight C ABI callbacks, which means that it can be fully cross-language. Green threads are runtime-specific.

Re:.NET 5.0 by Ironlink on Tuesday November 10, 2020 @03:38PM (#25051585)
"Cannot" seems a bit harsh. CompletableFuture isn't going away, and is made for callback situations.

With green threads being "free" (you can have millions), it might be reasonable to just block your green thread until the callback arrives.