Gå direkte til innholdet
Write Powerfull Rust Macros
Spar

Write Powerfull Rust Macros

Forfatter:
innbundet, 2024
Engelsk

Supercharge your code with macros, the real power tools of the Rust programming language!

Macros are instructions to generate new Rust code at compile-time, saving you hours of tedious code writing. The top Rust developers have built macros into everything from the standard library to crates. Now you can learn how these amazing power tools will help you push Rust to its full potential. This hands-on guide takes you from the absolute basics to advanced macro techniques.

Inside Write Powerful Rust Macros you'll discover:

  • Writing declarative macros
  • Procedural macros
  • Reading and debugging macro code
  • Improving the type system with newtypes and zero-sized types
  • How common Rust libraries use macros
Forfatter
Sam Overmeire
ISBN
9781633437494
Språk
Engelsk
Vekt
588 gram
Utgivelsesdato
24.6.2024
Antall sider
320