Linker-hacking out the D runtime

Iain Buclaw via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Dec 19 11:59:44 PST 2016


On 19 December 2016 at 12:41, Mike via Digitalmars-d-announce
<digitalmars-d-announce at puremagic.com> wrote:
> On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote:
>>
>> On 18 December 2016 at 03:37, Mike via Digitalmars-d-announce
>> <digitalmars-d-announce at puremagic.com> wrote:
>>>
>>> On Sunday, 18 December 2016 at 00:04:54 UTC, sarn wrote:
>>>
>>>> I thought I'd write something up to help other people experiment with
>>>> this
>>>> stuff:
>>>> https://theartofmachinery.com/2016/12/18/d_without_runtime.html
>>>
>>>
>>>
>>> Thanks for this.
>>>
>>> I abandoned D sometime ago largely because of
>>> https://issues.dlang.org/show_bug.cgi?id=14758 (but there were other
>>> reasons), so your blog post is interesting to me.  It is unfortunate that we
>>> have to resort to such hackery, but its nice to have such tools at our
>>> disposal regardless.
>>>
>>
>> As a response to my last message in that thread, the changes for classinfo
>> generation is now ready to go in master.
>
>
> Just built GDC from the gdc-6 branch.  The commit history says master was
> merged in 24 hours ago, so I'm assuming your ClassInfo changes are there.
>
> Anyway the build produces the same result:  TypeInfo strings for each an
> every type in the .rodata section.  The binary should be about 6K, but is
> instead about 600K.  Perhaps I'll try again at a later date.
>
> Mike
>
>

Yeah, I'm just wrapping up the last touches, PR will land for master
in days, or tonight maybe...

May be a delay before it gets merged into the gdc-6 branch.


More information about the Digitalmars-d-announce mailing list