Hacker News new | ask | show | jobs
by llmslave2 167 days ago
Re. the editor speedup, it should outright eliminate the "domain reload" thingy that happens because all of the C# needs to be unloaded and reloaded in response to a change.
1 comments

Pretty sure that will still be there? It'll be different because CoreCLR doesn't really have AppDomains but it will still need to unload old assemblies and reload them all again. That's the only reliable way to reset everything into a clean state.
But only the assemblies that changed right? Or would it still be all of them?
No, for a full domain reload it reloads everything. This forces all static variables to reset, makes static constructors run again, etc.