News for hackers. Stuff that matters.
Re:Go-like channels in 10 lines of JavaScript by dragonwriter on Saturday February 04, 2023 @06:52PM (#34659802)
> But there is no concurrency in Javascript!

Javascript has concurrency (which async/await and promises are).

It doesn’t have parallelism at the language level (but see, e.g., the Web Workers API).

There are no comments on this comment yet.