Hey guys, in theory how hard would it be to do rea...
# compiler
c
Hey guys, in theory how hard would it be to do real-time interpretation of Kotlin code? Is there anyone doing anything like this now? Without safety and performance optimisations of course
h
You can instantiate an engine, feed it your kotlin code as string and execute it, get the result etc...
c
Does that just compile it and run it ? That's got like a 2s delay right?
e
Are you looking for a REPL?
c
Looking for a way to have much faster write code to run code time for quick UI previews
h
No, it's interpreted, good response times but worse Performance compared to regular compilation. I think what you search is this one:

https://youtu.be/OEFwnWxoazI

Another alternative would be kotlin js with continuous run in gradle, all depending on what ui you need and so on.
c
Oh that's really awesome, thanks for sharing @Hanno. I'll have a play around