I am considering porting a Java library (Android) to Kotlin. I really like Kotlin, and the advantages over Java should reduce the number of errors in the library.
Since the library is focused on an environment with limited resources, I am worried that placing the library in Kotlin will result in additional overhead.
Does the Kotlin library (distributed as .class files) provide any runtime or additional overhead compared to the Java library?
Will the resulting Android app be larger or slower due to Kotlin?
Kotlin , Android. , , stdlib .
Android- - Kotlin?
Kotlin ( .class ) - Java?
, , , . Proguard .
, , , , .
, . Kotlin , , stdlib .
Kotlin, Java .
Kotlin Android - , , , . , , Java , . Proguard .
Source: https://habr.com/ru/post/1655439/More articles:Import gapi.auth2 into angular 2 typescript - angularcontroller: ctrlfmt Poorly formed controller string. '' Must match `__name__ as __id__` or` __name__` - angularjsUnregister display in HandlerMapping - javaCalculating a quantile from grouped data in a Dataframe spark box - apache-sparkbest way to automatically load a node / client puppet - puppetSpecify the height and width of the ggplot plot in the output of Rmarkdown knitr - rAre methods class instances that consume a lot of memory (in Scala)? - pythonThe didSelectRowAtIndexPath method never called iOS 10 devices - iosSOAP node returns Target-Namespace "undefined" error already used by another scheme - soapExporting C ++ Class Symbols Using GCC - c ++All Articles