breandan / kotlingrad

🧩 Shape-Safe Symbolic Differentiation with Algebraic Data Types
https://breandan.net/public/masters_thesis.pdf#page=49
Apache License 2.0
520 stars 21 forks source link

Port the library to Kotlin/Multiplatform #24

Closed CommanderTvis closed 2 years ago

CommanderTvis commented 3 years ago

Describe the solution you'd like Change the project model to Kotlin/Multiplatform and provide targets other than JVM.

breandan commented 3 years ago

Thanks, this is a good suggestion. It should be possible to extract a pure Kotlin subset of this library with no third-party dependencies, put visualization in a separate module and compile to multiplatform. It's been on our todo list for a while.

breandan commented 2 years ago

I made some progress on minimizing our JVM dependencies, but think this is going to depend on Kotlin/multik#23 or JetBrains-Research/viktor#50. Some standard library functionality is also lagging behind, such as the reflection API. Do you have any idea if/when the common standard library will reach parity with its JVM counterpart?

CommanderTvis commented 2 years ago

I know there is reflekt project by JetBrains Research that may cover some of the JVM relfection uses.