Write Powerful Rust Macros (Paperback)
 
作者: Sam Van Overmeire 
分類: Computing & information technology ,
Computer programming / software development ,
Programming & scripting languages: general  
書城編號: 27865795


售價: $600.00

購買後立即進貨, 約需 18-25 天

 
 
出版社: Manning Pubn
出版日期: 2024/05/28 (快將出版)
重量: 0.3 kg
ISBN: 9781633437494

商品簡介
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.

* 以上資料僅供參考之用, 香港書城並不保證以上資料的準確性及完整性。
* 如送貨地址在香港以外, 當書籍/產品入口時, 顧客須自行繳付入口關稅和其他入口銷售稅項。

 

 

 

  我的賬戶 |  購物車 |  出版社 |  團購優惠
加入供應商 |  廣告刊登 |  公司簡介 |  條款及細則

香港書城 版權所有 私隱政策聲明

顯示模式: 電腦版 (改為: 手機版)