4 ms·
> My favorite part of dotnet 6 is the focus on hot reloading not mentioned here Does this work, for example, to reload method changes and so on? I miss this co
by fmakunbound 5y ago
> My favorite part of dotnet 6 is the focus on hot reloading not mentioned here
Does this work, for example, to reload method changes and so on? I miss this coming from JVM.
- throwaway13337 5y agoIt really works! "dotnet watch" and go. It watches your C# files for changes and reloads when it notices on save. I use VSCode not visual studio which has some deeper integrations there I guess. But it's still fine. It's only available in 6, though, as far as I know for real sub-second hot reloads. As it's a preview release right now, it's not as fun to set up but it's not too bad. 5 and below has reloading on code change that isn't quite instant (takes maybe a few seconds) but still works with the same command.
- e67f70028a46fba 5y agoFun story: back in 2009 at the jvm language summit, Thomas Wuerthinger demo’d full hotswap. Method signature changes, class hierarchy, all of it. He wasn’t a sun employee at the time and the sun folks kept telling him what he was doing was impossible. We ended up using his stuff, the dcevm, internally for a long time. He was eventually hired by sun/oracle to work on other stuff and Java still doesn’t have proper hotswap. That’s the tech world for you.
- stephankoelle 5y agoHis stuff is still around, maintained and very useful via: https://github.com/TravaOpenJDK/trava-jdk-11-dcevm https://github.com/TravaOpenJDK/trava-jdk-11-dcevm They say, that java on graal should have full hotswap. https://www.graalvm.org/reference-manual/java-on-truffle/hotswap-plugin/ https://www.graalvm.org/reference-manual/java-on-truffle/hot...
- deleted 5y ago[deleted]