4 ms·
Julia's JIT makes startup a little slow.
by gelstudios 13y ago
Julia's JIT makes startup a little slow.
- thinkpad20 13y agoI'm not really familiar with the intricacies of JIT, but wouldn't it be possible to pre-compile just the startup portion of the code, thereby dramatically increasing startup time? This part of the code would seem to almost always run in exactly the same way each time (with respect to each individual package being loaded, the startups of each being also pre-compiled), so there doesn't seem to be any value gained from JIT-compiling this process there.
- wtallis 13y agoYes, Lisp systems have been doing exactly this for decades.
- ihnorton 13y agoYes, this is done now for the standard library, which has reduced time-to-REPL from ~3s to ~.5s. The same idea will eventually be extended to packages.
- thinkpad20 13y agoSweet, sounds good. I look forward to seeing this. Or maybe contributing to it :)