r/programming • u/fagnerbrack • 1d 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/
26
Upvotes
35
u/simon_o 23h ago edited 23h 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.)
4
u/qmunke 1d 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.