manual memory management

Rob T rob at ucora.com
Wed Jan 9 11:47:42 PST 2013


On Wednesday, 9 January 2013 at 12:25:08 UTC, Benjamin Thaut 
wrote:
>>
>> Walter claimed that compiler is shared-lib ready, it is just 
>> druntime
>> that is lacking. And he hasn't got knowledge to make it work 
>> on his own.
>>
>> Sean Kelly is out - he was Walter's bet to make it work.
>>
>> My hope was Martin Nowak, he was working on it but seems that 
>> he also
>> got busy with other stuff
>
> The compiler is not shared-lib ready. At least not on windows. 
> It does not support exporting data symbols. E.g.
>
> export uint g_myGlobal;
>
> This is mostly a problem for "hidden" data symbols, like 
> vtables, module info objects, type info objects and other stuff 
> D relies on.
>
> Druntime on windows does already handle everything else 
> pefectly (e.g. threads and TLS)
>
> Kind Regards
> Benjamin Thaut

http://dlang.org/phobos/core_runtime.html

I see library load and unload functions, although the required 
"dlsym" feature is absent. What's the status, does any of it 
actually work?

--rt


More information about the Digitalmars-d mailing list