logoalt Hacker News

ef2ktoday at 4:55 PM2 repliesview on HN

What's buried under the lede: this harness is using Cordis v4 (the paper that dropped today). Cordis has already been used for four years in a different project called Koishi that uses v3. Cordis itself is a way of hot loading and unloading plugins without restarting a running process. The cool part is that when it unloads it can revert any state and side effects it created, cleaning up its connections, memory allocations, registered handlers, etc. and it can also deactivate any dependencies it relied on without disturbing other plugins.


Replies

ziofilltoday at 4:56 PM

Sounds very cool! What do you mean by “revert side effects it created”?

show 1 reply