Live data from Hacker News

The fastest word counter in JavaScript

github.com

1–2 of 2 posts

Re: The fastest word counter in JavaScript

#2
Still strikes me as super sad JS never got SIMD support. It seemed like there were some strong candidate specs. On Node there are some add-on npm libraries that implement.

My understanding was the main protest was that we would get wasm & some certain implementers said they wanted to focus their energy on wasm.

That was well over half a decade ago & wasm is still in incredible infancy, with basically only statically linked capabilities in the spec.

Wasm SIMD proposal itself only merged into wasm in November 2021. https://github.com/WebAssembly/spec/pull/1391

It seems really unfortunate to have decided to keep JS the slow inferior language.