compile-time regex redux

Andrei Alexandrescu (See Website For Email) SeeWebsiteForEmail at erdani.org
Mon Feb 12 08:54:28 PST 2007


renoX wrote:
> Andrei Alexandrescu (See Website For Email) Wrote:
> []
>> Au contraire, I think it's a definite step in the right direction. 
>> Writing programs that write programs is a great way of doing more with 
>> less effort. 
> 
> As long as it works yes, but if you need to debug the result, you're most likely going to suffer a lot..
> Also this can leads to huge compile time due to code expansion (been there with generated C++ code: 6h compilation time(!) and full compilation needed each time due to the difficulty to track dependencies).
> 
> So it is a bit like TNT: a useful tool sure, but a dangerous one too.
> renoX

Compile times for metacode will reduce dramatically (to become a 
practical non-issue in most cases) through the technology that Walter is 
working on right now.

Let's not forget that TNT moderated by carbon gave us dynamite :o).


Andrei



More information about the Digitalmars-d mailing list