logoalt Hacker News

prideoutyesterday at 10:43 PM1 replyview on HN

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


Replies

whytevuhunitoday at 6:08 AM

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