Today I read about the ammonite shell:
it’s a Scala-based replacement for bash. The big problem: interactive response. Even after the JVM warms up you get a 200-300msec delay on every command.
I know the Kotlin compiler is much faster than the Scala compiler. I wonder, how much faster for this specific use case?
Does anyone know of a Kotlin REPL, any experiments with that, or how fast it might be to compile a single line of code?
By the way, I know there’s a REPL-like thing in the debugger, if I recall correctly it’s actually a Kotlin interpreter (!) because otherwise you can’t do things like access private members. I wonder how complete it is, or how easy to reuse.