Hacker News new | ask | show | jobs
by drorweiss 4781 days ago
While it's true that threads are ok if implemented correctly, one needs to be smart to correctly work with threads, and still any concurrent code will be ~10x more expensive to write and maintain.

In my perspective lack of threads is a blessing because it takes this complexity out of the equation.

On the other hand, working with async callbacks also takes training and more careful thought of the bindings and closures.

For me, after 6 months with node, I can say that I like it. It's superfast, ample modules to work with, and javascript is very convenient for working with data.

1 comments

Yeah, like I said, running single-threaded, e.g. in Python with the GIL, or in JavaScript, saves you having to worry about synchronization. But that should be the only big argument for it, not performance and scalability.