Is it possible to use Kotlin Scripting as a way to allow extending a C++ program? For example, if I were to create a game engine in C++, and wanted to enable Kotlin scripting, would there be an easy way to do that?
e
ephemient
05/10/2025, 5:18 PM
it should be possible insofar as Kotlin scripting can be embedded in a Java application and Java can be embedded in a C++ program, but you probably need to know how to do both those things
d
Daniel Pitts
05/10/2025, 5:27 PM
I would rather not pull in the JRE for it. I was thinking more along the lines of Kotlin Native.