Thread overview
hot reloading code gist
15 hours ago
monkyyy
13 hours ago
H. S. Teoh
7 hours ago
Ogion
15 hours ago

https://gist.github.com/crazymonkyyy/f3d40f5b7c0454bfaa118d5a73a3fe1c

dlopen is one of the functions not really documented in core, its api really sucks. This section of d could use some love.

13 hours ago
On Fri, May 16, 2025 at 01:03:46AM +0000, monkyyy via Digitalmars-d wrote:
> https://gist.github.com/crazymonkyyy/f3d40f5b7c0454bfaa118d5a73a3fe1c
> 
> dlopen is one of the functions not really documented in core, its api really sucks. This section of d could use some love.

dlopen is a POSIX call.  It sux because it's an OS C API, and there's nothing we can do about it.


T

-- 
Bomb technician: If I'm running, try to keep up.
7 hours ago

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.