Digibento

Write Powerful Rust Macros

Ebook · Sold on Manning

Write Powerful Rust Macros by Manning Publications is an ebook sold by Manning. It costs $64.99. Refund policy: eBooks are non-refundable (MEAP: 30 days).

$64.99

Buy at Manning

Digibento may earn a commission at no extra cost to you.

Write Powerful Rust Macros

Our take

Sam Van Overmeire's Write Powerful Rust Macros is an example-driven guide that goes from the basics to advanced macro techniques. You start with declarative macros, then move to procedural macros that generate code, add to data structures and even build domain-specific languages. Along the way you learn to write, test, debug and publish macros, and to read the macro code inside Rust libraries. The book runs 320 pages with source code.

What you get

  • Declarative and procedural macros, step by step
  • Reading and debugging macro code
  • How Rust libraries use macros
  • Newtypes, zero-sized types and the type state pattern
  • 320 pages with source code

Ideal for

  • Rust developers ready to write their own macros
  • Library authors who want to generate code with procedural macros
  • Rust users who struggle to read macro-heavy crates

Use it for

  • Writing a procedural macro
  • Building a small domain-specific language
  • Debugging macros in a Rust project

What you need

  • Working knowledge of Rust

About this

From Manning

An example-driven, step-by-step guide to success with Rust macros. In Write Powerful Rust Macros you’ll learn how to use these amazing metaprogramming tools to push Rust to its full potential. This hands-on guide takes you from the absolute basics to advanced macro techniques, exploring Rust macros through interesting and engaging examples. Inside Write Powerful Rust Macros you’ll discover: Improving the type system with newtypes and zero-sized types. Write Powerful Rust Macros teaches you how to write, test, debug, and publish macros for Rust. It’s perfect for Rust practitioners who want to master this powerful development technique. Build your knowledge chapter-by-chapter. You’ll start with declarative macros before diving into the real power: procedural macros that can generate code, augment data structures, and even create domain-specific languages.

Highlights

  • How Rust libraries use macros
  • Reading and debugging macro code
  • Newtypes and the type state pattern

What’s included

  • 320 pages
  • Source code
  • Errata
  • Book forum
  • Register your pBook for a free eBook
  • Also included in a Manning Online subscription
Store
Manning
Type
Ebook
Category
Ebooks
Creator
Manning Publications
Instructor
Sam Van Overmeire
Released
2024-05-19
Refund
eBooks are non-refundable (MEAP: 30 days)

Questions and answers

What's included in Write Powerful Rust Macros?
320 pages. Source code. Errata. Book forum. Register your pBook for a free eBook.
Can I get a refund on Write Powerful Rust Macros?
Manning says: No refunds on eBooks.

You may also like

More in Ebooks

Similar for less

More from Manning

See all