https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

christophsturm

04/16/2018, 8:13 AM
what is the difference between the official multiplatform support and just manually compiling the same kotlin source once for the jdk and once for js?
g

gildor

04/16/2018, 8:36 AM
“official multiplatform” also allows you to use actual/expect declarations
And also you can use
common
stdlib, so Idea and compiler will check that you use only APIs available for the all platforms
l

lukas.mega

04/16/2018, 11:29 AM
It is also possible to write tests in a common project so that they will be compiled and run in each platform project.
2 Views