Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, but compile-time evaluation in Zig doesn't require the "comptime" keyword. Only specific cases such as compile-time type computation do (but these specific cases are not provided by compile-time function evaluation in D anyway, so language choice wouldn't make a difference here).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: