4 ms·
The fastest word counter in JavaScript
- rektide 4y agoStill 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 https://github.com/WebAssembly/spec/pull/1391 It seems really unfortunate to have decided to keep JS the slow inferior language.