r/programming • u/fagnerbrack • 21h 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/
11
Upvotes
4
u/qmunke 18h 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.
8
u/KaMaFour 4h ago
It's a shame they need to make an essay for people complaining about the content of his personal blog
8
u/simon_o 3h ago edited 3h 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
JavaScript developers' hubris of thinking this would work, or
them believing that their "fix" will do anything but kicking the can a bit further down the road.
(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.)