whatever I do, things get slower and bigger
BCS
ao at pathlink.com
Thu Mar 13 19:46:26 PDT 2008
Reply to Jarrett,
> "Bill Baxter" <dnewsgroup at billbaxter.com> wrote in message
> news:frce57$1vf5$1 at digitalmars.com...
>
>> Yes I believe Don has previously reported that CTFE manipulations on
>> strings basically *never* free the intermediate strings. Basically
>> the CTFE engine needs a garbage collector (or equiv).
>>
>> --bb
>>
> You know, if we had a D compiler made in D, it'd be GCed.
>
Odd, that's what the project the problem showed up on is.
My plan for CTFE is to compile all code to a high level IL byte code that
can be converted to machine code for object files but can also be executed
directly on some sort of VM, I should be able to shoehorn in a GC (or better)
somewhere in that .
More information about the Digitalmars-d-learn
mailing list