Comment

Comment by WalterBright

D has has compile time function evaluation for 15 or 16 years now. It doesn't have a special keyword, either. It's simple - everywhere the grammar has a const-expression, then compile time function evaluation is in play.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton