hot reloading code gist

monkyyy crazymonkyyy at gmail.com
Fri May 30 18:04:14 UTC 2025


On Friday, 30 May 2025 at 17:52:19 UTC, Hipreme wrote:
> On Friday, 16 May 2025 at 08:37:34 UTC, Ogion wrote:
>> On Friday, 16 May 2025 at 03:18:38 UTC, H. S. Teoh wrote:
>>>
>>> dlopen is a POSIX call.  It sux because it's an OS C API, and 
>>> there's nothing we can do about it.
>>>
>>
>> We do have `core.runtime.Runtime.loadLibrary` that uses 
>> `dlopen`/`LoadLibrary` depending on platform. But for some 
>> reason there’s no wrapper for `dlsym`/`GetProcAddress`.
>
> We have the libraray "bindbc-loader", which solves this exactly 
> problem

Hotloading local d code vs dymanic loading some big c lib 
probably are different problems.


More information about the Digitalmars-d mailing list