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

The Node.JS libraries also have Sync (not async) alternatives. But everything is async by default. JS/Node is single threaded, but supports multi process concurrency with message passing and sharing of sockets.

I personally prefer callback convention, but it's not the only paradigm. Primises/Futures, and async/await is also very popular.

Node.JS makes you think async, which has a learning curve, but I prefer that over multi threading locks and data races.

Go is also great. But I think JavaScript is much easier.



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

Search: