I've inherited a project, originally written in C++
.
Due to implementation requirements, I need to either re-write the project in a JVM based language, like Java
or Kotlin
, or simply wrap the existing code in a Java
or Kotlin
(RESTful) API.
The existing code base is also entangled with an very old network simulation framework.
I'm therefore leaning heavily towards untangling the simulation framework and wrapping the C++
code using something like JNI and SWIG to implement in a non simulated environment.
I'm wondering if JNI and SWIG are still the best options available?
Any advice will be greatly appreciated!