hot reloading code gist

Hipreme msnmancini at hotmail.com
Fri May 30 17:52:19 UTC 2025


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


More information about the Digitalmars-d mailing list