Write Powerful Rust Macros - Sam Van Overmeire

Manning Publications · ENSTK

Write Powerful Rust Macros - Sam Van Overmeire

EAN: 9781633437494

Preț la libris.ro

429,22 RON

Vezi oferta la libris.ro

Compară ofertele (1)

libris.ro

in stock

429,22 RON

La magazin

Prețurile sunt preluate automat din feed-urile magazinelor și pot diferi față de site-ul magazinului. Verifică prețul final la magazin.

Descriere Write Powerful Rust Macros - Sam Van Overmeire

Supercharge your code with macros--the real power tools of the Rust programming language! \nMacros 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. \n \nInside Write Powerful Rust Macros you'll discover: \n \n \n \n- Writing declarative macros \n- Procedural macros \n- Reading and debugging macro code \n- Improving the type system with newtypes and zero-sized types \n- How common Rust libraries use macros \nWrite 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. \nPurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. \n \n About the book \n \n 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. \n \n About the reader \n \n For intermediate Rust programmers. \n \n About the author \n \n 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.\n

Detalii

Brand
Manning Publications
Categorie
ENSTK
EAN / GTIN
9781633437494
Magazine
1
Disponibilitate
in stock

Produse similare