{"product_id":"write-powerful-rust-macros-sam-van-overmeire-9781633437494","title":"Write Powerful Rust Macros","description":"\u003cb\u003eSupercharge your code with macros--the real power tools of the Rust programming language!\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eMacros 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. \u003cp\u003e\u003c\/p\u003eInside \u003ci\u003eWrite Powerful Rust Macros\u003c\/i\u003e you'll discover: \u003cp\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003eWriting declarative macros\u003c\/li\u003e \u003cli\u003eProcedural macros\u003c\/li\u003e \u003cli\u003eReading and debugging macro code\u003c\/li\u003e \u003cli\u003eImproving the type system with newtypes and zero-sized types\u003c\/li\u003e \u003cli\u003eHow common Rust libraries use macros\u003c\/li\u003e \u003c\/ul\u003e \u003cbr\u003e\u003ci\u003eWrite Powerful Rust Macros\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the book\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003ci\u003eWrite Powerful Rust Macros\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the reader\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e For intermediate Rust programmers. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the author\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cb\u003eSam Van Overmeire\u003c\/b\u003e is a software developer with a background in history and archaeology. He is the author of multiple books, scientific articles and blog posts.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Sam Van Overmeire\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 1633437493\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9781633437494\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Manning Publications\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 06\/18\/2024\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 250\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.66lbs","brand":"Sam Van Overmeire","offers":[{"title":"Paperback","offer_id":44920137351423,"sku":"9781633437494","price":59.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_f2a9d673-d1ab-4249-b161-486da156fb7a.jpg?v=1710360284","url":"https:\/\/www.whiterainbookhouse.com\/products\/write-powerful-rust-macros-sam-van-overmeire-9781633437494","provider":"WR Book House","version":"1.0","type":"link"}