Hacker News new | ask | show | jobs
by alphanullmeric 1118 days ago
That’s nothing compared to what Constexpr and other c++ features let you do. The conditional compilation example for instance.
1 comments

Zig has shown the true power of constexpr in being able to provide a powerful construct that generalizes well.

After sum types (and pattern matching), constexpr is the next great language feature that will be everywhere soon.

I would love for Rust to fully adopt constexpr.