zlacker

[parent] [thread] 2 comments
1. odo124+(OP)[view] [source] 2025-08-22 16:43:53
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.

replies(1): >>dboreh+43
2. dboreh+43[view] [source] 2025-08-22 16:57:24
>>odo124+(OP)
So...not concurrently.
replies(1): >>odo124+w3
◧◩
3. odo124+w3[view] [source] [discussion] 2025-08-22 16:59:29
>>dboreh+43
No. See [Concurrency vs. Parallelism](https://stackoverflow.com/questions/1050222/what-is-the-diff...).

The tasks run concurrently, but not in parallel.

[go to top]