4 ms·
A few months later, Will released Tyrade, an impressive macro-based DSL for type-level programming in Rust: https://github.com/willcrichton/tyrade https://githu
by jswrenn 6y ago
A few months later, Will released Tyrade, an impressive macro-based DSL for type-level programming in Rust: https://github.com/willcrichton/tyrade https://github.com/willcrichton/tyrade
The README uses some of the same motivating examples as the blog post.
Type-level programming absolutely has its place. Rust's
`typenum` and `generic_array` crates enabled projects like `nalgebra` long before const generics. I recently used type-level programming to prototype an extension to Rust's type system — that's now an RFC (#2981)!
- mateus_amin 6y agoThat is really cool. Would "Use types as data primitives" be a good way to describe Tyrade?