News for hackers. Stuff that matters.
Re:Go-like channels in 10 lines of JavaScript by jay-barronville on Saturday February 04, 2023 @06:54PM (#34659831)
Sorry, I think you’re misunderstanding.

Highly concurrent code need not execute in parallel. Concurrency enables parallelism; concurrency does NOT mandate parallelism.

On top of that, it actually is possible in JavaScript environments like Node.js to write code that can, in fact, run in parallel.

Re:Go-like channels in 10 lines of JavaScript by eurasiantiger on Sunday February 05, 2023 @03:21AM (#34662990)
But those parallel executions are running their own event queues.