News for hackers. Stuff that matters.
Re:Kotlin Multiplatform for Android and iOS by jaegerpicker on Friday September 14, 2018 @11:14AM (#17987777)
Looks great! My biggest concern and one of the reasons I'm not using Swift or C++ for a cross platform library is that most of the dependencies you (at least I need) need don't support those languages (Auth0, Firebase, Crashlytics etc...). So you end up writing more complex code to make that also work. If Kotlin native can bring those types of libraries to be supported it will be huge IMO.
Re:Kotlin Multiplatform for Android and iOS by mamcx on Friday September 14, 2018 @12:41PM (#17988704)
> Swift

How you think is possible to use swift on android? The only almost decent way is https://www.elementscompiler.com/elements/default.aspx and is not enough:

https://www.reddit.com/r/swift/comments/8zb9y1/state_of_swif...

Re:Kotlin Multiplatform for Android and iOS by pjmlp on Friday September 14, 2018 @01:52PM (#17989285)
It is not only a matter of language.

The developer experience with the NDK is quite bad, as if Google makes it on purpose for only the persistent developers to actually succeed at it.

Re:Kotlin Multiplatform for Android and iOS by tlarkworthy on Friday September 14, 2018 @12:13PM (#17988418)
Some of the firebase apis have c++ implementations: https://firebase.google.com/docs/cpp/setup
Re:Kotlin Multiplatform for Android and iOS by jaegerpicker on Friday September 14, 2018 @03:34PM (#17990206)
Yep just not the main one I need (FireStore)
Re:Kotlin Multiplatform for Android and iOS by abukros on Friday September 14, 2018 @11:28AM (#17987912)
Yes. That’s a problem for MP too. But maybe you can select a proper slice of the application that can work without these libs and implement that code as a shared MP lib.