Remix.run Logo
llmslave2 a day 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.

Rohansi a day ago | parent [-]

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.

benaadams 21 hours ago | parent | next [-]

AssemblyLoadContext.Unload https://learn.microsoft.com/en-us/dotnet/api/system.runtime....

llmslave2 a day ago | parent | prev [-]

But only the assemblies that changed right? Or would it still be all of them?

Rohansi 19 hours ago | parent [-]

No, for a full domain reload it reloads everything. This forces all static variables to reset, makes static constructors run again, etc.