News for hackers. Stuff that matters.
Re:Elixir Saves Pinterest $2M a Year in Server Costs by pdpi on Tuesday August 29, 2023 @07:55AM (#37306386)
> I think Node is still single core by default?

It’s complicated.

Node itself has never been single-threaded. The execution model for JavaScript is single-threaded, so there’s no working around that, but libuv uses threads to build async IO on top of blocking operations.

Then there’s worker threads, which are pretty similar to web workers AIUI, that give you parallel execution for cpu-intensive work.

Obviously, though, none of these facilities compare with BEAM

There are no comments on this comment yet.