Hacker News new | ask | show | jobs
by za3faran 1299 days ago
Genuine question, how is managing cross interacting virtual threads any different or easier than managing interacting threads? I say this and I am greatly looking forward to using Loom in production. It's definitely the correct way to go as opposed to async/await.
2 comments

It's not. That's the problem with the thread API that Loom is so dead set on preserving, and the big improvement that promises/async/await provide over threads.
How does async/await improve on managing mutable state across threads of execution (tasks/promises/etc?)
Structured concurrency.