February 12, 2007 Re: compile-time regex redux | ||||
---|---|---|---|---|
| ||||
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
|
February 12, 2007 Re: compile-time regex redux | ||||
---|---|---|---|---|
| ||||
Posted in reply to renoX | 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
|
Copyright © 1999-2021 by the D Language Foundation