News for hackers. Stuff that matters.
Re:JavaScript in Parallel: Web Workers and SharedArrayBuffer by Klathmon on Saturday March 04, 2017 @10:21AM (#13791213)
If it helps, I took the class I made that converts between 4 Uint8Clamped values to a Uint32 value and vice versa into an NPM package at [0].

At the very least it can show you some of the gotchas with bit shifting in JS (like how values often look negative until they are placed into a Uint32array then they become positive integers, and how you need to check for endianness)

[0] https://github.com/Klathmon/BitPacker.js

Re:JavaScript in Parallel: Web Workers and SharedArrayBuffer by vanderZwan on Saturday March 04, 2017 @10:33AM (#13791268)
Would not have thought of checking for endianness, thanks!