2 ms·
Rust macros know nothing about types, but types are what do all the work at compile time.
by ncmncm 6y ago
Rust macros know nothing about types, but types are what do all the work at compile time.
- adamnemecek 6y agoDo they have to know about types?
- ncmncm 6y agoOnly to build designs that today are possible only in C++. Type-aware macros might not be the best way to implement the features needed to match C++.