Re:Julia 1.6 addresses latency issues
by superdimwit on Tuesday May 25, 2021 @03:57PM
(#27281808)
I am hopeful that Julia should be able to get this cross-session caching of compiled code. Would make restarting the REPL (to e.g. add a field to a struct) much less frustrating.
[ Parent
| on HN ]
Re:Julia 1.6 addresses latency issues
by adgjlsfhk1 on Tuesday May 25, 2021 @05:47PM
(#27283139)
Caching is easy. The hard part here is correctly invalidating the cache. Specifically, if a user is using different libraries between sessions, figuring out which methods have been overridden (or inline code that was overridden) becomes complicated.
Re:Julia 1.6 addresses latency issues
by reikonomusha on Tuesday May 25, 2021 @03:59PM
(#27281841)
Yeah, restarting a Lisp REPL after you’ve compiled your code is transparently essentially instantaneous, because everything is cached and checked for changes, and 99% of the time most of your code and nearly all of your dependencies aren’t changing hour to hour.