We nailed it with arrays (Jan Knepper’s idea), the
basic template design, compile-time function execution
(CTFE)
One of my favourite things about D is that it has a full compile-time D interpreter. You can do "template metaprogramming", so to speak, in the same language as D itself (it's probably a bit more fair to compare it to how lisp macros are "compile-time").It's a bit sad that Rust is getting all of the attention in the spotlight, because D is a great, modern, safe language. If you've only heard about D 15 years ago and never tried it again, give it another look. The current D is really a new language, which was briefly called "D2" for a while.
Now, if Symantec could just fix the stupid licence of the reference compiler...
https://forum.dlang.org/thread/lodjbuvdhimrvrdngldy@forum.dl...