Android N Java 8 features (Jack compiler) and Kotlin interop

后端 未结 8 1752
抹茶落季
抹茶落季 2020-12-22 23:19

Update 3. KOTLIN IS NOW OFFICIALLY SUPPORTED FOR ANDROID DEVELOPMENT. BY GOOGLE. YAAAAAAAAS!

Update 2: It looks like JetBrains is r

8条回答
  •  一生所求
    2020-12-22 23:46

    Google is not going to push Jack as the default tool, but Jack and Jill.
    Compiling .class files to dex with Jill is here to stay. Otherwise, you can say goodbye to jar/aar libraries.

    Whether Jack or Jill will be slower is still up for debate. The Android team hopes that jack will be faster than the current build process, but that's not the case right now

    Furthermore, Jack and Dex are available in the open, nothing prevents the kotlin team from writing a tool emiting .jack or .dex files from kotlin sourcecode.

提交回复
热议问题