James Fennell personal blog
A surprising enum size optimization in the Rust compiler
Enums are one of the most popular features in Rust. An enum is a type whose value is one of a specified set of variants.
- Points
- 148
- HN comments
- 70
- Submissions
- 1
- Cited by
- 0 commenters
Programming LanguagesSoftware Engineering2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 7, 2025 | A surprising enum size optimization in the Rust compiler by returningfory2 | 148 | 70 |