ModularM
Modular2y ago
5 replies
Alex Gunnarson

Virtual thread support? ("write async like sync")

Wondering whether Mojo will support writing async code like writing synchronous code, like Java's virtual threads. Hoping to avoid the "function coloring" problem introduced by
async
/
await
.

See also https://www.infoworld.com/article/3678148/intro-to-virtual-threads-a-new-approach-to-java-concurrency.html.
Was this page helpful?