News for hackers. Stuff that matters.
Re:Making Games with Kotlin by mmahemoff on Wednesday December 11, 2019 @03:55AM (#21760737)
Quizlet has been doing shared business logic with Kotlin - Ankush Gupta has written and talked about it https://medium.com/tech-quizlet/shared-code-at-quizlet-kotli....

We've been experimenting with this model too, as "write once, run anywhere" is very tempting for business logic, but those platforms have traditionally fallen down when it comes to UI and other native functions (e.g. alarms, sensors, etc). So far, it's proving very do-able. Non-trivial in some areas such as multi-threading, but a lot more practical than replicating the same logic across Android, iOS, and web.

There are no comments on this comment yet.