3 ms·
SBT always runs Scalac in the same VM, so it will be hot and JIT compiled after a few passes. Intellij implemented a SBT Shell in 2017.1, so it will keep the s
by walkingolof 9y ago
SBT always runs Scalac in the same VM, so it will be hot and JIT compiled after a few passes.
Intellij implemented a SBT Shell in 2017.1, so it will keep the same SBT session going between passes also.
- wpietri 9y agoThat's a good start, but won't the compiler still be batch-oriented? By which I mean doing a ton of I/O and activity only when I hit go? I'm talking about something much more real time. I want the parser to keep everything hot, updating every time I hit a key. And whenever I get to anything that the parser approves of, downstream stages, which also keep everything hot, dynamically update all of their structures, revising object files as they go. Batch orientation is great, and I understand why compilers started there. But I want something that moves beyond that. It's sort of the difference between a batch-oriented rendering system like TeX or early word processing versus a modern WYSIWYG word processing setup, where we burn resources prodigiously to give users much faster feedback loops.
- speedkills 9y agoThe Dotty compiler is going down the route you are looking for.