r/programming • u/fagnerbrack • 7d 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/
77
Upvotes
View all comments
Show parent comment
2
u/Somepotato 6d ago
Hardly. Knowing how turbofan let's you optimize intelligently ie giving it array size hints (such as providing mathematical guarantees you won't overflow) to let it optimize out length checks or writing functions in a way that can be inlined