Hacker News new | ask | show | jobs
by eurasiantiger 1229 days ago
You’re asking for low-level features. JS is a high-level language.
2 comments

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