Hacker News new | ask | show | jobs
by joshuakcockrell 967 days ago
We picked Kotlin libraries that supported KMM. So we used Apollo Kotlin, and our network requests were handled by that library's KMM translation. So there was a layer of abstraction we accepted. We never wrote raw `HttpURLConnection` code on the Kotlin side, so I'm honestly not sure what that would get translated into. KMM compiles your code into an iOS framework, so you don't actually get to see the code it creates for you (you get access to the Objective-C headers).

You're totally right, you're at the mercy of these KMM libraries and their knowledge of platform specific optimizations.