News for hackers. Stuff that matters.
Re:Ask HN: Why hasn't the JavaScript event loop model scaled... by ActorNightly on Tuesday November 19, 2024 @01:24PM (#42186591)
If you are talking about nodejs, there is https://nodejs.org/api/child_process.html

Same way that python does parallelism, by relying on the underlying OS to schedule threads and use multiple cores.

For JS running in browser, you probably don't want any allowance for such scheduling in the scripts, and let the JS engine in the browser automatically establish parallelism if needed.

There are no comments on this comment yet.