top | item 44371839

(no title)

prideout | 8 months ago

Neat but I would prefer simply using a dylib for the part of my code that I want to be reloadable.

discuss

order

whytevuhuni|8 months ago

I've used this for a toy game I was once working on [1], and it works pretty well for a while, but the problem is that sometimes the OS decides that your dlclose will be a no-op. I haven't ever found a way to force the OS to unload it, sometimes it just keeps it there.

[1] https://github.com/andreivasiliu/demimud/tree/master/netcore