Compile and run program from Kotlin REPL
I currently compile and run Kotlin programs on the command line using kotlinc, like
konlinc program.kt -include-runtime -d program.jar && jave -jar program.jar
This takes a few seconds to presumably load the compiler into memory each time, give the standard warnings (e.g. All illegal access operations will be denied in a future release) and then starts to compile the program.
As a result, even for a hello world program it takes a couple of seconds.
Is there a way I can do this faster?...