Hacker News new | ask | show | jobs
by coffeebeqn 1229 days ago
Or use a language that supports multi threading in some sensible manner..
1 comments

You’re asking for low-level features. JS is a high-level language.
High level languages can have parallelism constructs. E.g., Ruby, in which threads have limited parallelism (only when running lower-level code that releases the GVL) has Ractors, which run Ruby code in parallel.
I’m just saying if you want parallelism then don’t write things in JavaScript