|
You are here |
nercury.github.io | ||
| | | | |
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. | |
| | | | |
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. | |
| | | | |
blog.logrocket.com
|
|
| | | | | Declarative and procedural macros enable metaprogramming in Rust, which can lead to runtime cost savings and more powerful code. | |
| | | | |
ricardomartins.cc
|
|
| | | Rust gives us good tools to achieve interior mutability in a thread-safe way without much effort. More than that, it does so in such a way that the borrow checker will have our backs most of the time, so we can't shoot ourselves in the feet. | ||