January 2019
Beginner to intermediate
554 pages
13h 31m
English
Metaprogramming is a concept that changes the way you look at instructions and data in a program. It allows you to generate new code by treating instructions like any other piece of data. Many languages have support for metaprogramming, for example, Lisp's macros, C's #define construct, and Python's metaclasses. Rust is no different and provides many forms of metaprogramming, which we'll explore in this chapter.
In this chapter, we will look at the following topics:
Read now
Unlock full access