Optional Parameters in Rust

Vidify – Analyzing different approaches for optional parameters in Rust… Read more

Similar

A fast port scanner in 100 lines of Rust

To write a fast port scanner, a programming language requires: A Good I/O model, not to eat all the resources of the system. High-level abstractions and a good packaging system to isolate low-level code and reuse it easily. To be type and memory safe, be... (more…)

Read more »

Implementing a Type-safe printf in Rust

I show how to use heterogeneous lists and traits to implement a type-safe printf in Rust. These mechanisms can ensure that two variadic argument lists share important properties, like the number of format string holes matches the number of printf argument... (more…)

Read more »

Auto-Currying Rust Functions

This post contains a gentle introduction to procedural macros in Rust and a guide to writing a procedural macro to curry Rust functions. The source code for the entire library can be found here. It is also available on crates.io. (more…)

Read more »