CastilloDel's page personal blog
Compile time evaluation in Nim, Zig, Rust and C++
Evaluating code at compile time is a capability that most, if not all, compiled programming languages possess, even if it can't be directly used by the programmer, but rather applied as an optimization. In this post, we'll explore a bit how to execute code at compile time in Nim, Zig, Rust and C++.
- Points
- 149
- HN comments
- 98
- Submissions
- 1
- Cited by
- 0 commenters
Programming LanguagesSoftware Engineering2022
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 25, 2022 | Compile time evaluation in Nim, Zig, Rust and C++ by lukastyrychtr | 149 | 98 |