
Manning Publications
Write Powerfull Rust Macros (inbunden, eng)
929 kr
929 kr
Få kvar
Tis, 15 apr - ons, 16 apr
Säker betalning
14-dagars öppet köp
Säljs och levereras av
Buyersclub.se
Produktbeskrivning
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:
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.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technology
Macros are one of Rust’s most important and powerful tools.
Although notoriously challenging, this metaprogramming technique has a big payoff. Using macros to generate new Rust code at compile-time can save you hours of tedious coding with negligible runtime performance impact. This book shows you exactly how to master this Rust superpower.
About the book
Write Powerful Rust Macros opens up the world of macros to intermediate Rust programmers.
You’ll start with declarative macros to get the basics under your belt. Then, you’ll advance to procedural macros as you automatically generate a builder, learn to create your own domain-specific languages, and more. As you go, you’ll develop practical skills like testing macros, integrating macros with crates, and even sharing your macros with other developers.
What''s inside
About the reader
For intermediate Rust programmers.
About the author
Sam Van Overmeire is an experienced Rust developer and the author of multiple books, scientific articles and blog posts.
The technical editor on this book was Andrew Lilley Brinker.
Table of contents
1 Going meta
2 Declarative macros
3 A “Hello, World” procedural macro
4 Making fields public with attribute macros
5 Hiding information and creating mini-DSLs with function-like macros
6 Testing a builder macro
7 From panic to result: Error handling
8 Builder with attributes
9 Writing an infrastructure DSL
10 Macros and the outside world
Format Inbunden Omfång 320 sidor Språk Engelska Förlag Manning Publications Utgivningsdatum 2024-06-24 ISBN 9781633437494
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:
- 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. 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.
Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.
About the technology
Macros are one of Rust’s most important and powerful tools.
Although notoriously challenging, this metaprogramming technique has a big payoff. Using macros to generate new Rust code at compile-time can save you hours of tedious coding with negligible runtime performance impact. This book shows you exactly how to master this Rust superpower.
About the book
Write Powerful Rust Macros opens up the world of macros to intermediate Rust programmers.
You’ll start with declarative macros to get the basics under your belt. Then, you’ll advance to procedural macros as you automatically generate a builder, learn to create your own domain-specific languages, and more. As you go, you’ll develop practical skills like testing macros, integrating macros with crates, and even sharing your macros with other developers.
What''s inside
- How Rust libraries use macros
- Reading and debugging macro code
- newtypes and the type state pattern
About the reader
For intermediate Rust programmers.
About the author
Sam Van Overmeire is an experienced Rust developer and the author of multiple books, scientific articles and blog posts.
The technical editor on this book was Andrew Lilley Brinker.
Table of contents
1 Going meta
2 Declarative macros
3 A “Hello, World” procedural macro
4 Making fields public with attribute macros
5 Hiding information and creating mini-DSLs with function-like macros
6 Testing a builder macro
7 From panic to result: Error handling
8 Builder with attributes
9 Writing an infrastructure DSL
10 Macros and the outside world
Format Inbunden Omfång 320 sidor Språk Engelska Förlag Manning Publications Utgivningsdatum 2024-06-24 ISBN 9781633437494
Artikel.nr.
0d6df2a0-4732-5669-beb3-3bab4f210195
Manning Publications
Write Powerfull Rust Macros (inbunden, eng)
929 kr
929 kr
Få kvar
Tis, 15 apr - ons, 16 apr
Säker betalning
14-dagars öppet köp
Säljs och levereras av
Buyersclub.se
Liknande toppsäljare

Generic
Organizer för Resväska - 7-delar - Väskor för Resa Beige
199 kr
4,3
torsdag, 10 apr

-11 %
Olympiq
12-pack Oral-B Kompatibla Tandborsthuvuden
79 kr
Tidigare lägsta pris:
89 kr
4,3
måndag, 14 apr

-6 %
Uniq Vanity
UNIQ XL Hollywood Spegel med 15 LED-lampor och touch-funktion - sminkspegel med belysning - hollywoodspegel
795 kr
Tidigare lägsta pris:
849 kr
5,0
onsdag, 9 apr

-11 %
INF
INF TYPE-C Dubbel SD/TF-kortläsare för snabb dataöverföring 0
79 kr
Tidigare lägsta pris:
89 kr
2,9
torsdag, 10 apr

Nice price
Playstation 5 DualSense Controller Midnight Black
799 kr
4,8
torsdag, 10 apr

-49 %
WEEN
Trådlös CarPlay adapter 2025 - En smart och modern lösning för din bil
299 kr
Tidigare lägsta pris:
589 kr
fredag, 25 apr

Generic
4-Pack - Volkswagen VW Centrumkåpor / Hjulnav Emblem - Bil 65 mm
119 kr
4,1
torsdag, 10 apr

Moorle
2-i-1 Elektrisk Rakhyvel för Kvinnor, Vattentät, Bikinitrimmer, Dubbelhuvud, Typ-C Rosa
234 kr
onsdag, 23 apr

USB-C
Laddare för iPhone 15 / iPhone 16 + 2M kabel Snabbladdare USB-C till USB-C
99 kr
4,2
tisdag, 15 apr

-38 %
Perfect Cat and Dog ball
Rullande Boll, tuggboll för Hundar och katter Tuggbboll för Hundar, Interaktiv Hund Smart Boll Leksak, Interaktiv Katt Boll Leksak, 360° Smart
99 kr
Tidigare lägsta pris:
159 kr
3,0
måndag, 14 apr
Rekommendationer för dig

-2 %
Apple
Apple AirPods Pro (2nd Gen) 2023 USB-C
2 675 kr
Tidigare lägsta pris:
2 740 kr
5,0
onsdag, 9 apr

Malibu
Malibu Fast Tanning Bronzing Butter with Beta Carotene 300ml
139 kr
4,4
torsdag, 10 apr

-28 %
Megabilligt
Sovhörlurar – Pannband & Ögonmask med Bluetooth Hörlurar
179 kr
Tidigare lägsta pris:
249 kr
4,2
torsdag, 10 apr

Bright Beauty Vanity
Bright Beauty Vanity Namira - sminkspegel med belysning - hollywoodspegel - make up spegel - vit - dimbar med tre ljuslägen
899 kr
4,3
torsdag, 10 apr

MV
iPhone Snabbladdare USB-C PD 3.0. 20W Strömadapter + Kabel
127 kr
5,0
tisdag, 22 apr

Best Trade
Hundklippare för Hundtassar – Tyst och Effektiv Tasstrimmer med LED-lampa
169 kr
4,0
onsdag, 23 apr

-8 %
LIECTROUX
LIECTROUX elektrisk fönsterputsrobot HCR-10 med 30 ml vattentank
1 112 kr
Tidigare lägsta pris:
1 212 kr
3,9
fredag, 11 apr

Nice price
Apple
Apple AirPods (andra generation) med Lightning-laddningsetui
1 594 kr
3,4
onsdag, 9 apr

A Charger
Laddare för kärcher Fönstertvätt
99 kr
3,8
tisdag, 15 apr

Nice price-5 %
SAMSUNG
Samsung Galaxy Tab A9+ Wifi 64GB Svart
2 070 kr
Tidigare lägsta pris:
2 168 kr
4,5
onsdag, 9 apr