News for hackers. Stuff that matters.
Re:Jurigged – Hot code reloading for Python by framecowbird on Friday April 09, 2021 @01:52PM (#26753700)
This looks impressive, and equally a recipe for utter confusion. I've always thought that it's a brilliant feature of Python that you can edit code while it's running and not affect the process; unlike, say, bash scripts.
Re:Jurigged – Hot code reloading for Python by musingsole on Friday April 09, 2021 @02:01PM (#26753807)
In a proper managed environment (whatever that may mean...), this could be useful as a means for continuous integration. Maybe not worth all the hassle, but maybe there's a usecase where this would be a beloved silver bullet.
Re:Jurigged – Hot code reloading for Python by ohples on Friday April 09, 2021 @02:45PM (#26754410)
Hot code reloading (ala Erlang) is often used in embedded devices for control code where restarting is very expensive. Mostly telco and networking devices.
Re:Jurigged – Hot code reloading for Python by dnautics on Friday April 09, 2021 @07:35PM (#26757469)
we use it in prod to instrument code to check up on some internal data, say, from the database, when some forensic analysis is needed
Re:Jurigged – Hot code reloading for Python by kikos on Friday April 09, 2021 @05:20PM (#26756324)
We use something similar in some of the web crawlers in my company, we dynamically load the module that selects the data from a web page so that if something (website and/or requirement) changes we can just swap the module without downtime.