Rust fails to create branch-free code

There’s two patches here.
The first avoids recomputing constant field elements (#69 already has this, I just didn’t see that PR).
The second patch tries different ways of handling overflows in the … Read more

Similar

Rust-Style Futures in C

All networking applications essentially boil down to stringing together multiple asynchronous calls in the right way. Traditionally for programs written in C this would be done through registering callbacks where the callee either handles the event itself... (more…)

Read more »

Understanding #[derive(Clone)] in Rust

This post assumes that you have an entry-level familiarity with Rust: you’ve fought with the borrow checker enough to start to internalize some of its model; you’ve defined structs, implemented traits on those structs, and derived implementations of commo... (more…)

Read more »