24 days of Rust – derive_builder

Today our focus is the derive_builder
crate. It provides a macro to automatically generate setter methods
for struct fields. And since all setters return the struct itself,
we can chain them in a so called builder pattern.

Similar

Compiling Rust is NP-hard

...though it's not the flagship borrow checking that's at fault. What I noticed, and would like to share with you today, is that the exhaustiveness checking performed by the Rust compiler on match patterns is a superset of the SAT problem. (more…)

Read more »

Yoshua Wuyts: State Machines in Rust

Every now and then I like to think about topics that don't directly relate to my daily work. One of those topics has been parsers: back in January I wrote about byte-ordered stream parsing and how I think we can improve streaming parsing in Rust with a sm... (more…)

Read more »

Goodbye Rust, and Hello, D

After quite a bit of thought and consideration, I have decided to abandon my study of Rust, and move on to D. I had been learning Rust for a while now, and I have become quite comfortable with it, … (more…)

Read more »