Jonathan de Jong
Jonathan de Jong
I like it! I havent done a test on it yet (read a epub, then write it again, and compare differences), but so far it seems like a better version...
Will do! Also I suggest making a "EpubFactory" class, since both `EpubRef` and `EpubBook` have "chapter entries" that are desynced from eachother, so a "Factory" class will be very useful...
Another interesting comparison to this approach is [this function](https://docs.rs/timing-shield/latest/timing_shield/barriers/fn.optimization_barrier_u8.html), which almost exclusively uses the same approach as the value barrier in C, only using rust ASM macros.
I just encountered [subtle](https://github.com/dalek-cryptography/subtle), which aims to provide primitives to deal with constant-time evaluation. It pulls in no other crates, is small, and only has little `unsafe` unsafe usage (which...
https://github.com/briansmith/ring/issues/1299 was about a bug that OpenSSL had wrt this, but that they refuse to revert, and effectively has become standard. That bug is fine, this is not, I'm recommending...
> This demonstrates some of the non-technical difficulties (license) with the process of replacing the remaining C code with Rust. I'm not seeing those difficulties in action in this PR...
> The existing code doesn't use value_barrier_w. My goal is to have all code that needs to make a constant-time decision use value_barrier_w or a related constant_time_ function for the...
Thank you, i'll take a look at the Asm it generates, and/or see how the compiler works with it.
This also happens on newer versions of cleo
Maybe it'd also be able to press the "home" icon again to immediately refresh if one is already at the top of the timeline.