Recompiling a CL system as it is running
|Added at||2016-12-15 10:12|
I am running a common lisp project that fetches market data every 5 seconds. I made some tweaks to the code and want to update it on the production environment. The event loop is really standard:
Because of the blocking nature of the
My question: Can I dynamically update the running code?
I know that I can recompile the project with
I also know that I can redefine classes at runtime. (Not that I am using classes in my implementation)
However now that I cannot use the REPL I must somehow load the environment in another REPL. Is there a way to do that? (I am using SBCL)
It seems to me that the cleanest approach would be to just implement asynchronous data fetching.