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

I had to look M:1 threading up too - it's this: https://en.wikipedia.org/wiki/Thread_(computing)#M:1_(user-l...

Basically OP was saying that JavaScript can run multiple tasks concurrently, but with no parallelism since all tasks map to 1 OS thread.



So...not concurrently.


No. See [Concurrency vs. Parallelism](https://stackoverflow.com/questions/1050222/what-is-the-diff...).

The tasks run concurrently, but not in parallel.




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

Search: