Hacker News new | ask | show | jobs
by jaegerpicker 2832 days ago
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.
4 comments

> 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...

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.

Some of the firebase apis have c++ implementations: https://firebase.google.com/docs/cpp/setup
Yep just not the main one I need (FireStore)
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.