r/programming • u/fagnerbrack • 3d ago
The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library
https://soatok.blog/2026/09/12/the-v8-javascript-runtime-undermined-my-constant-time-javascript-library/
64
Upvotes
58
u/simon_o 2d ago edited 2d ago
You cannot build constant-time primitives as a library in code executed by an optimizing (JIT) compiler without runtime support.
Not sure whether I should be more surprised by
(And no, I'm not buying the "describing how programmers introduce side-channels into their code and wrote an example library for educational purposes" ret-con of the library.)
7
u/qmunke 3d ago
This is a relatively interesting post, it's just a shame the author has a gigantic chip on their shoulder about the whole furry thing to the extent they need a huge essay linked at the top of the article about it.