Proposal: Database Engine for D

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 4 11:50:01 PST 2016


On Monday, 4 January 2016 at 18:28:15 UTC, Russel Winder wrote:
> On Mon, 2016-01-04 at 01:45 -0800, Walter Bright via 
> Digitalmars-d wrote:
>> On 1/3/2016 11:40 PM, Jacob Carlborg wrote:
>> > There's of course AST macros as well, which have many other 
>> > good
>> > use cases.
>> > Unfortunately you don't like those either :(
>> 
>> Neither Andrei nor I have changed our minds on that one.
>
> Pity I like good AST transforms: Groovy, Scala, Lisp, Clojure, 
> Rust… C++ template meta-programming isn't really my cup of tea.
>
> Rusts macros show it can be done well.

I agree heavily with this, it feels like an arbitrary limitation.
D did wonders in making template metaprogramming usable compared 
to C++, but sometimes it feels like trying to pound nails in with 
a screwdriver.

I think just looking at the kind of stuff being done in languages 
that enable AST macros might change minds.


More information about the Digitalmars-d mailing list