Write Powerful Rust Macros

Write Powerful Rust Macros
Author :
Publisher : Simon and Schuster
Total Pages : 318
Release :
ISBN-10 : 9781633437494
ISBN-13 : 1633437493
Rating : 4/5 (493 Downloads)

Book Synopsis Write Powerful Rust Macros by : Sam Van Overmeire

Download or read book Write Powerful Rust Macros written by Sam Van Overmeire and published by Simon and Schuster. This book was released on 2024-07-02 with total page 318 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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 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. In this unique book, you'll explore Rust macros through interesting and engaging examples, including automatically generating a 'builder' and composing a DSL for writing Infrastructure as Code. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the book Write Powerful Rust Macros is a comprehensive guide to creating macros in Rust. You'll start your journey with declarative macros, then quickly move on to the powerful procedural macros to build your own domain-specific language. Learn how to create public fields, work with custom attributes, integrate your macros with other crates, write effective tests to ensure your macros are reliable and bug-free, and even share your macros with other developers. About the reader For intermediate Rust programmers. About the author Sam Van Overmeire is a software developer with a background in history and archaeology. He is the author of multiple books, scientific articles and blog posts.


Write Powerful Rust Macros Related Books

Write Powerful Rust Macros
Language: en
Pages: 318
Authors: Sam Van Overmeire
Categories: Computers
Type: BOOK - Published: 2024-07-02 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

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, sav
Write Powerful Rust Macros
Language: en
Pages: 318
Authors: Sam Van Overmeire
Categories: Computers
Type: BOOK - Published: 2024-07-09 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

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 t
Practical Rust 1.x Cookbook, Second Edition
Language: en
Pages: 291
Authors: Lloyd Frank
Categories: Computers
Type: BOOK - Published: 2024-06-07 - Publisher: GitforGits

DOWNLOAD EBOOK

If you want to learn how to program in Rust and create strong, reliable apps with the most recent version Rust 1.68, then you need the "Practical Rust 1.x Cookb
Practical Rust 1.x Cookbook
Language: en
Pages: 264
Authors: Rustacean Team
Categories: Computers
Type: BOOK - Published: 2023 - Publisher: GitforGits

DOWNLOAD EBOOK

Practical Rust 1.x Cookbook is an in-depth guide for experienced Rust programmers looking to create robust and efficient applications. This solution-focused boo
Programming Rust
Language: en
Pages: 738
Authors: Jim Blandy
Categories: Computers
Type: BOOK - Published: 2021-06-11 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Systems programming provides the foundation for the world's computation. Writing performance-sensitive code requires a programming language that puts programmer