Y
Hacker News
new
|
ask
|
show
|
jobs
by
zozbot234
120 days ago
"You can inspect types and build new types at compile time" is a key affordance of dependently typed languages.
1 comments
uecker
117 days ago
I agree. I am not terribly convinced by C++ or Zig's comptime. You should be able to do this at run-time, and then just be able to make it a constant.
link