News for hackers. Stuff that matters.
Re:What Spectre and Meltdown Mean for WebKit by pizlonator on Tuesday January 09, 2018 @01:04AM (#16103974)
Rust has algebraic types, so Spectre could be used to train the branch predictor to take one type case of your match statement, and then have that case taken when the enum is actually in a different shape. That's a violation of the type system.

There are no comments on this comment yet.