News for hackers. Stuff that matters.
Re:We rewrote our Rust WASM Parser in TypeScript – and it go... by sroussey on Friday March 20, 2026 @06:42PM (#47461728)
Yeah, though the n^2 is overstating things.

One thing I noticed was that they time each call and then use a median. Sigh. In a browser. :/ With timing attack defenses build into the JS engine.

Re:We rewrote our Rust WASM Parser in TypeScript – and it go... by fn-mote on Friday March 20, 2026 @07:52PM (#47462437)
For those of us not in the know, what are we expecting the results of the defenses to be here?
Re:We rewrote our Rust WASM Parser in TypeScript – and it go... by sroussey on Saturday March 21, 2026 @12:28AM (#47463983)
Jitter. It make precise timings unreliable. Time the entire time of 1000 runs and divide by 1000 instead of starting and stopping 1000 timers.