thewca / tnoodle-lib

scrambling code portion of TNoodle
GNU General Public License v3.0
40 stars 15 forks source link

Kotlin (KMP) support #30

Open hukpo opened 3 years ago

hukpo commented 3 years ago

As a developer, I'd like to use tnoodle-lib for web/desktop/iOS platforms. I think it's possible to rewrite the code so it can be used in Kotlin multiplatform projects. Any thoughts on this?

ndrchvzz commented 3 years ago

Yes it's possible. I rewrote the min2phase bit of tnoodle-lib in Kotlin. I don't think it helps much. I did it mainly as a challenge, and I liked the idea of killing all the java code and have only Kotlin. I haven't published the code yet but I'm planning to do that soon. As far as I can tell it's open source and there are no license issue with rewriting it in any language you like. You should probably give the author credit for the original code out of respect whenever there are complicated algorithms involved, like in the case of min2phase.