Re:The Swift compiler is slow due to how types are inferred
by DanielHB on Friday June 14, 2024 @05:12AM
(#40679047)
That is pretty neat, I haven't done serious Java development in ~10 years but I do vaguely remember hot swapping would eventually cause out of memory errors. I was using standard OpenJDK 6 and 7 at the time.
Espresso goes further and doesn't only allow hot swapping but lets you write plugins that react to hot swaps of code:
https://www.graalvm.org/latest/reference-manual/java-on-truf...
If you use the Micronaut web framework then it will selectively re-initialize your app in response to hot swaps that need it. Pretty advanced stuff.