Feedback on Átila's Vision for D
Adam D. Ruppe
destructionator at gmail.com
Fri Oct 18 12:47:51 UTC 2019
On Friday, 18 October 2019 at 12:05:41 UTC, Chris wrote:
> and once Adam said that he uses a very conservative style of D
> so he never has problems with dmd updates.
I have been kinda avoiding this thread as I don't wanna get
burned but I wanna tell a funny little story here.
My libraries have a pretty good compatibility record. Yes,
sometimes I push half-baked stuff and people get warnings or
whatever, but I tend to fix those fairly quickly so 99% of the
time you grab my code it is probably going to work on old and new
Many of my modules work with D versions going back two years or
more. I actively test on gcc releases now too, and (in)famously
avoid third-party library entanglements... again, for the most
But actually a lot of the stuff from the last year I like a lot.
And cgi.d now uses static foreach in some optional sections.
Pretty cool stuff.
The problem is it now doesn't work on old gdc :( And since
version() requires the innards to parse, I can't even version it
out. I might mix it in as a string (yikes!) just to maintain that
cross-compiler compatibility, as often I'd just stick to the old
feature but this time it is legitimately really useful and not
easily replaced by an older way.
oh well though.
More information about the Digitalmars-d