HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by odo1242

Comment by odo1242 a day ago

2 replies

View on Hacker News

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.

dboreham a day ago

So...not concurrently.

Reply View | 1 reply
  • odo1242 a day ago

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

    The tasks run concurrently, but not in parallel.

    Reply View | 0 replies