Manning Publications
Write Powerfull Rust Macros (inbunden, eng)
909 kr
909 kr
Få kvar
Fre, 3 jan - tis, 7 jan
Säker betalning
Öppet köp till och med 7/1-25
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)
909 kr
909 kr
Få kvar
Fre, 3 jan - tis, 7 jan
Säker betalning
Öppet köp till och med 7/1-25
Säljs och levereras av
Buyersclub.se
Liknande toppsäljare
Izoxis
Nattlampa - Stjärnprojektor med LED-lampa - Astronaut
399 kr
4,0(1)
fredag, 27 dec
Generic
Knivset för Barn 6-delar - Barnvänliga knivar
149 kr
4,4(13)
måndag, 30 dec
Apple
Apple Airpods (2nd Gen) with Charging Case
1 695 kr
3,0(3)
fredag, 27 dec
Sony PlayStation DualSense - White (PS5)
779 kr
4,4(198)
måndag, 30 dec
Bright Beauty Vanity
Bright Beauty Vanity Namira - sminkspegel med belysning - hollywoodspegel - make up spegel - vit - dimbar med tre ljuslägen
899 kr
4,3(831)
måndag, 30 dec
INF
INF RCA till HDMI adapter / signalomvandlare Svart
99 kr
Tidigare lägsta pris:
116 kr
4,0(10)
måndag, 30 dec
Sog Living
LED Galaxy Light - Stjärnlampa / Nattlampa Stjärnprojektor
199 kr
Tidigare lägsta pris:
449 kr
måndag, 30 dec
SAMSUNG
Samsung Galaxy Buds3 Trådlösa Hörlurar- Silver
1 490 kr
Tidigare lägsta pris:
1 569 kr
måndag, 30 dec
Vitu
Cocktail shaker Set - Rostfritt stål Silver 5 dela
149 kr
Tidigare lägsta pris:
179 kr
4,2(13)
måndag, 30 dec
Generic
Knivset / Köksset för Barn 17-delar - Barnvänliga knivar
199 kr
måndag, 30 dec
Rekommendationer för dig
Bright Beauty
Bright Beauty Vanity Namira - sminkspegel med belysning - hollywoodspegel - make up spegel - vit - dimbar med tre ljuslägen
899 kr
4,2(42)
måndag, 30 dec
Sense
Fotoalbum 300 bilder limbundet
129 kr
4,7(47)
fredag, 27 dec
Apple
Apple AirPods (andra generation) med Lightning-laddningsetui
1 430 kr
3,6(78)
fredag, 27 dec
Generic
2-Pack - PS4 Kontroll DoubleShock för Playstation 4 - Trådlös
499 kr
5,0(1)
måndag, 30 dec
Generic
Stor Bilbana för Barn - Dinosaurie
399 kr
4,4(41)
fredag, 27 dec
Otego
Magnetic Tiles - Magnetiska Byggklossar - 40 Delar - Bygg Magneter
179 kr
3,5(2)
måndag, 30 dec
Ralph Lauren
RALPH LAUREN BIG PONY 2 PINK EAU DE TOILETTE 50ML
351 kr
4,1(18)
fredag, 27 dec
Generic
Shiatsu Massage - Masserar nacke, axlar & rygg
349 kr
Tidigare lägsta pris:
379 kr
3,9(7)
måndag, 30 dec
ICERANGERS
Uppladdningsbara värmehandskar - Värme vantar håll värme vinter 5V 6000mah
649 kr
5,0(1)
måndag, 30 dec
Fenchilin
FENCHILIN Stor Hollywood sminkspegel med belysning USB Bordsskiva Väggfäste Vit spegel 80 x 58 cm
1 611 kr
4,5(152)
måndag, 30 dec