/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.schneems.com
| | developerlife.com

Procedural macros are a way for you to extend the Rust compiler and provide plugins that you can use to extend the language. They allow you to reduce the need to write manual boilerplate code, and even allow you to create your own DSL (domain specific language). This article goes into the details of creating the 3 kinds of procedural macros in Rust.
4.9 parsecs

Travel
| |
| | corrode.dev

The phone buzzes at 3 AM. You roll out of bed, open your laptop, and see this in the logs: th...
4.4 parsecs

Travel
| |
| | cprimozic.net

[AI summary] The article discusses creating a Rust procedural macro to automate the process of populating struct fields from a HashMap, reducing redundant code.
4.7 parsecs

Travel
| |
| | blog.meain.io

A simple intro to Rust's macros
8.9 parsecs

Travel
|