compiler support added for precise GC

Jacob Carlborg doob at me.com
Mon Apr 16 04:24:26 PDT 2012


On 2012-04-16 11:00, Walter Bright wrote:
> On 4/16/2012 1:20 AM, Jacob Carlborg wrote:
>> I thought it was a first step for runtime reflection.
>
> The thing about runtime reflection is you only need it for a few
> classes, while the compiler is doomed to generate the info for all of
> them. Andrei suggested a better design, which was to use compile time
> reflection to generate runtime information, as a library routine, on an
> as-needed basis.

If we can't relay on runtime reflection being there it's basically 
useless. It's like your idea that the GC shouldn't be optional. Then all 
library code needs to be written to work without the GC. It's the same 
thing with runtime reflection.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list