Runtime code reloading in D, part 1

Benjamin Thaut code at benjamin-thaut.de
Sun Jan 6 04:19:55 PST 2013


Am 06.01.2013 12:50, schrieb Jacob Carlborg:
> On 2013-01-06 12:28, Benjamin Thaut wrote:
>
>> It does not exist. The current RTInfo template just outputs a null
>> pointer for every type.
>
> Yes, but it still exists.
>
>> It is planned that the RTInfo template will be
>> used for a percise GC in the future. (Did you read the article? ^^)
>
> Yes, I've read the article. How do you think I otherwise could have come
> up with these questions :)
>
> I can see now that you wrote:
>
> "This template is instanciated for every type that is used during
> compilation and thus is ideal to generate RTTI information"
>
> I get it now.
>

Here is the full implementation if you are interested:
https://github.com/Ingrater/druntime/blob/master/src/rtti.d

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-announce mailing list