https://kotlinlang.org logo
a

altavir

02/17/2021, 1:51 PM
Check out Multik v 0.0.1: easy-to-use, type-safe and powerful Kotlin API for mathematical operations over multidimensional arrays with swappable JVM and native computational engines. https://blog.jetbrains.com/kotlin/2021/02/multik-multidimensional-arrays-in-kotlin/ Twitter
K 3
🐍 1
a

Alexis Manin

02/20/2021, 11:26 AM
Hello, I was wondering how multik and KMath project compete with (or complete) each other. Should we consider multik as an optimized nd array backend plugable with kmath ?
a

altavir

02/20/2021, 11:37 AM
@Alexis Manin Yes, it could be. KMath in general is about API, not implementation. There are KMath-core multiplatform implementations that do not guarantee the best performance, but work without additional libraries, but there are also pluggable implementation bridges. MultiK could be (and probably will be) one of such implementations alongside ND4J and Viktor. Currently @Aleksei Dievskii's measurements show that KMath-core is still slightly faster performance-wise, but in future, it will make sense to add bindings. See https://github.com/mipt-npm/kmath/issues/186
a

Alexis Manin

02/20/2021, 12:06 PM
Thanks for the details ;-)
a

altavir

02/20/2021, 12:08 PM
I am still not happy with some design decisions in MultiK, but it is quite close to numpy, so it could give an easy migration experience.
4 Views