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

Pros: Vertical scalability.

Cons: All your async code becomes full of data races.

I suppose adding multithreading to the Node ecosystem would be as hard (if not harder) than removing GIL from Python. At least Python has locking primitives. Node, as far as I know, has none.



> Node, as far as I know, has none.

Atomics are probably the closest. https://v8.dev/features/atomics




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

Search: