←back to thread

217 points varbhat | 1 comments | | HN request time: 0.208s | source
Show context
prideout ◴[] No.44371839[source]
Neat but I would prefer simply using a dylib for the part of my code that I want to be reloadable.
replies(1): >>44374079 #
1. whytevuhuni ◴[] No.44374079[source]
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