News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by hajile on Saturday May 15, 2021 @08:57PM (#27170303)
Node supports SharedArrayBuffer. It’s not perfect, but is usable.

In truth, assemblyscript or rust running in wasm is probably the best solution going forward.

Re:Modern Javascript: Everything you missed over the last 10... by yashap on Saturday May 15, 2021 @09:48PM (#27170533)
True, but regardless, the kind of ergonomic, low overhead parallel computing available in Scala or Go just isn’t possible in Node. In Scala or Go, parallel computing is barely anymore difficult than synchronous computing, in Node it’s quite the pain in the ass once you want to start passing objects with methods and whatnot between threads.