Fork me on GitHub
#off-topic
<
2021-08-15
>
vemv00:08:13

I used / hacked on nailgun some 9y ago it was a pleasant experience, not sure if something has changed though these days I'm not much bothered by startup time. One can learn to tackle the problems that make restarting a JVM perceivedly necessary in the first place. Then your repl session can last weeks/months, as Sean C. shares over here from time to time :) Some random examples: run tests from the repl, learn to avoid defprotocol pitfalls, learn to avoid dangling resources, add abundant, commonly-used libs to the classpath (which doesn't affect startup time!) in advance

đŸ’¯ 6
deleted02:08:05

I don't leave things running that don't need to be, that just wastes power

mauricio.szabo01:08:40

Starting up a REPL will consume more power than leaving it open, I believe - it makes your CPUs work full power to precompile things, prepare the runtime, etc...

mauricio.szabo01:08:18

To be 100% certain you'll have to measure, but if you're working with ClojureScript, you probably will have a REPL open all the time, right? If so, the cost of keeping it open, instead of closing everytime and starting again, will be lower

mauricio.szabo11:08:12

To be completely honest, I'm not even sure why do you think that keeping the REPL open "consumes more energy". I mean, keeping it open will not do anything...