Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin (KMP) support #30

Open
hukpo opened this issue Jun 12, 2021 · 1 comment
Open

Kotlin (KMP) support #30

hukpo opened this issue Jun 12, 2021 · 1 comment

Comments

@hukpo
Copy link

hukpo commented Jun 12, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants