Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Now imagine a parallel universe where instead of focusing on making asynchronous IO work

Funny choice of words. In the JVM world, Ron Pressler's first foray into fibers -quasar- was named "parallel universe". It worked with a java agent manipulating bytecode. Then Ron went to Oracle and now we have Loom, aka a virtual thread unmounted at each async IO request.

Java's Loom is not even mentioned in the article. I wonder for a cofounder: does the "parallel universe" appear in a other foundational paper, calling for a lightweight thread abstraction?

https://docs.paralleluniverse.co/quasar/

Anyway, yes we need sound abstractions for async IO



1. I liked the way Java did not implement the async await style, and waited for the right abstraction with Project loom.

2. Though for a single threaded language like Javascript, I like the whole async await style because the alternative was worse (promises, callbacks )

Did not knew this history of how Project Loom came to be (though Quasar)


Quasar was awesome when it came out. Still remember trying to make it work when I was at Uber but it was really finicky.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: