Re:Reloadr – Hot code reloading tool for Python
by vermilingua on Friday February 05, 2021 @06:55PM
(#26042706)
Accellerates the dev process by removing a whole bunch of steps: terminating the running program, relaunching the running program, repeating any steps to get back to the code in question.
While these things only take maybe a few seconds each, thats a few seconds that you’ll perform maybe hundreds of times. Reducing context switches is always a good thing.
Re:Reloadr – Hot code reloading tool for Python
by okso on Saturday February 06, 2021 @07:02AM
(#26045984)
albertzeyer's example with Notch explains the issue pretty well:
When working on a video game, restarting the game every time you are tweaking the behaviour of an entity takes a lot of time. Hot code reloading while keeping the state of the game makes development much easier.
On the other hand, when the entire state is stored outside of the Python app (eg: a web app using a database), restarting the entire process and reloading the page is fast enough and more reliable.
thanks