Articoli correlati a Write Powerful Rust Macros

Write Powerful Rust Macros - Brossura

 
9781633437494: Write Powerful Rust Macros

Sinossi

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:

  • 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

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

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.

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

Compra usato

Condizioni: molto buono
Zustand: Gut | Sprache: Englisch...
Visualizza questo articolo

EUR 9,90 per la spedizione da Germania a Italia

Destinazione, tempi e costi

EUR 1,20 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

Risultati della ricerca per Write Powerful Rust Macros

Foto dell'editore

Overmeire, Sam
Editore: Manning, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Antico o usato Brossura

Da: Buchpark, Trebbin, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: Gut. Zustand: Gut | Sprache: Englisch | Produktart: Bücher. Codice articolo 43063921/3

Contatta il venditore

Compra usato

EUR 29,19
Convertire valuta
Spese di spedizione: EUR 9,90
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Van Overmeire, Sam
Editore: Manning, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Antico o usato Brossura

Da: Le Monde de Kamélia, Bruxelles, Belgio

Valutazione del venditore 4 su 5 stelle 4 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: as new. Livraison rapide, bien emballé, service client soigné.Pour tout renseignement complémentaire, n'hésitez pas à nous contacter. Codice articolo 5E7C9E7139C9

Contatta il venditore

Compra usato

EUR 38,20
Convertire valuta
Spese di spedizione: EUR 7,00
Da: Belgio a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Foto dell'editore

Sam Van Overmeire
Editore: Pearson Education, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo HRD

Da: PBShop.store US, Wood Dale, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

HRD. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781633437494

Contatta il venditore

Compra nuovo

EUR 51,11
Convertire valuta
Spese di spedizione: EUR 1,20
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Foto dell'editore

Sam Van Overmeire
Editore: Pearson Education, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo HRD

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

HRD. Condizione: New. New Book. Shipped from UK. Established seller since 2000. Codice articolo PB-9781633437494

Contatta il venditore

Compra nuovo

EUR 52,25
Convertire valuta
Spese di spedizione: EUR 6,02
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 15 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Van Overmeire, Sam
Editore: Manning, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Antico o usato Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: As New. Unread book in perfect condition. Codice articolo 47481962

Contatta il venditore

Compra usato

EUR 43,80
Convertire valuta
Spese di spedizione: EUR 17,02
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Van Overmeire, Sam
Editore: Manning, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo 47481962-n

Contatta il venditore

Compra nuovo

EUR 43,82
Convertire valuta
Spese di spedizione: EUR 17,02
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Sam Van Overmeire
Editore: Manning Publications, US, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo Rilegato

Da: Rarewaves USA, OSWEGO, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Hardback. Condizione: New. 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 macrosProcedural macrosReading and debugging macro codeImproving the type system with newtypes and zero-sized typesHow common Rust libraries use macros. Codice articolo LU-9781633437494

Contatta il venditore

Compra nuovo

EUR 57,73
Convertire valuta
Spese di spedizione: EUR 3,41
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Sam Van Overmeire
Editore: Manning Publications, US, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo Rilegato

Da: Rarewaves.com UK, London, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Hardback. Condizione: New. 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 macrosProcedural macrosReading and debugging macro codeImproving the type system with newtypes and zero-sized typesHow common Rust libraries use macros. Codice articolo LU-9781633437494

Contatta il venditore

Compra nuovo

EUR 59,39
Convertire valuta
Spese di spedizione: EUR 2,29
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 1 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Sam Van Overmeire
Editore: Manning Publications, US, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo Rilegato

Da: Rarewaves USA United, OSWEGO, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Hardback. Condizione: New. 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 macrosProcedural macrosReading and debugging macro codeImproving the type system with newtypes and zero-sized typesHow common Rust libraries use macros. Codice articolo LU-9781633437494

Contatta il venditore

Compra nuovo

EUR 59,33
Convertire valuta
Spese di spedizione: EUR 3,41
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 10 disponibili

Aggiungi al carrello

Foto dell'editore

Sam Overmeire
Editore: Manning Publications, 2024
ISBN 10: 1633437493 ISBN 13: 9781633437494
Nuovo Rilegato

Da: THE SAINT BOOKSTORE, Southport, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Hardback. Condizione: New. New copy - Usually dispatched within 2 working days. 656. Codice articolo B9781633437494

Contatta il venditore

Compra nuovo

EUR 52,28
Convertire valuta
Spese di spedizione: EUR 11,16
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Vedi altre 22 copie di questo libro

Vedi tutti i risultati per questo libro