Will Crichton personal blog
Implementing a Type-safe printf in Rust
I show how to use heterogeneous lists and traits to implement a type-safe printf in Rust. These mechanisms can ensure that two variadic argument lists share important properties, like the number of format string holes matches the number of printf arguments.
- Points
- 119
- HN comments
- 59
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2020
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Aug 14, 2020 | Implementing a Type-safe printf in Rust by lukastyrychtr | 119 | 59 |