Algorithms
2 articles on Algorithms from Ayoob AI, the full code AI automation agency based in Newcastle upon Tyne.
The First Non-Comparison Float Sort in JavaScript
Array.prototype.sort() is broken for numbers. We built a three-tier adaptive engine dispatching between CPU, Web Workers, and WebGPU shaders. Here is how.
10 min read·2026-04-12
IEEE 754 Bit-Transforms for High-Speed Float Processing in JavaScript
JavaScript uses Float64, WebGPU needs Float32. The IEEE 754 bit-transform converts floats to sort-order-preserving integers, with a Float32 safety guard.
12 min read·2026-04-05
Want to discuss algorithms for your business?
Book a Discovery Call