Shopping for template languages

monkyyy crazymonkyyy at gmail.com
Wed Aug 7 19:44:57 UTC 2024


Its important to review decisions every once in a while, so, why 
am I tolerating d?

Last year my answer was its the best template language, c++ is 
ugly as sin and compiles slow, rust is even worse. My goal is to 
be where I believe sanity is and that is extreme metaprogramming 
on iterators(api between data and functions) preferably ranges(3 
functions primitive, relating to for loops; optional extensions 
for array-like behaviors when possible); with an extensive std 
pushing the boundaries.

*Is that still true?*

preemptive responses to ovisous candidates:

go: go only implements generics and is very irritating about 
"unused code"; generics are not a replacement for template hell.

swift: I worry about the apple connection(even if its weakening) 
and when I google swift iterators" it seems to be the oo take.

c3: Im unsure how strong ast marcos are? can anyone claim they 
are as flexable as templates

zig: zig while fantastic, lacks a fundamental piece, 
metaprogramming


More information about the Digitalmars-d mailing list