Hacker News new | past | comments | ask | show | jobs | submit login

Until JavaScript offers a robust concurrency abstraction, I don't see it completely replacing anything that is used for that purpose.



Based on the comment you're replying to I infer that you think Java offers a robust concurrency abstraction.

I disagree. In moving to the single-threaded async style of JS concurrency, the hardest part for me has been to rid myself of the ugly habit I acquired from Java's threading model, i.e. asking myself at each line of code, what happens if my thread gets preempted here?


Async/await and promises are quite good concurrency abstractions.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: