We ported JSBI to C++ — and the benchmark taught us more than the port did
TL;DR: We ported GoogleChromeLabs/jsbi — a pure-JS arbitrary-precision integer library — to modern C++17, bridged back to Node via N-API, for Port Mortem 2026 (Track H). The port itself wasn't the hard part. Proving it behaved identically to the original — and being honest about the one place we couldn't prove that — was. This is the story of a compile error that was secretly a correctness bug, a…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.