Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Wumpnot
on March 23, 2025
|
parent
|
context
|
favorite
| on:
Crabtime: Zig’s Comptime in Rust
There is no reflection in this example, this is easily replicated in C++
throwawaymaths
on March 23, 2025
[–]
it's not, because what you want to be a constexpr is not const. The type signature is comptime []u8, not comptime []const u8
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: