Complex Procedural Rust Macros

In this post, we write a procedural macro that generates code to bind functions and types including arbitrary many impl blocks to a scripting language. The problems encountered and techniques learned can be applied to other tasks where complex compile-tim… Read more

Similar

Revisiting Rust’s modules

As part of the Ergonomics Initiative, I and several others on the Rust language team have been taking a hard look at Rust’s module system. There are two related perspectives for improvement here: learnability and productivity. Modules are not a place th... (more…)

Read more »