manlan
08/20/2020, 6:38 PMnanodeath
08/20/2020, 6:41 PMnanodeath
08/20/2020, 6:42 PMSteve
08/20/2020, 6:50 PMnanodeath
08/20/2020, 6:51 PMnanodeath
08/20/2020, 6:52 PMSteve
08/20/2020, 6:52 PMSteve
08/20/2020, 6:52 PMnanodeath
08/20/2020, 6:53 PMSteve
08/20/2020, 6:57 PMSindy Senorita
08/20/2020, 11:30 PMgildor
08/20/2020, 11:57 PMsikri
08/21/2020, 7:25 AMWhich versions of JVM does Kotlin target?
Kotlin lets you choose the version of JVM for execution. By default, the Kotlin/JVM compiler produces Java 6 compatible bytecode. If you want to make use of optimizations available in newer versions of Java, you can explicitly specify the target Java version from 8 to 13. Note that in this case the resulting bytecode might not run on lower versions.
https://kotlinlang.org/docs/reference/faq.html
even in kotlin bytecode viewer you have a checkbox to see kotlin bytecode which targets java 8 compatible bytecodemanlan
08/21/2020, 7:46 AMgildor
08/21/2020, 8:01 AMmanlan
08/21/2020, 9:39 AMsikri
08/21/2020, 10:38 AMsikri
08/21/2020, 10:41 AMMarc Knaup
08/21/2020, 11:26 AMIs Kotlin always dependent on Java?No, there are Kotlin/Native and Kotlin/JS. Neither require Java (at runtime) đ The compiler is written in Kotlin/JVM and hence requires Java for now in order to compile anything.
gildor
08/21/2020, 11:44 AMnanodeath
08/21/2020, 2:19 PMMarc Knaup
08/21/2020, 2:39 PMnanodeath
08/21/2020, 2:41 PMMarc Knaup
08/21/2020, 2:42 PMnanodeath
08/21/2020, 3:27 PMnanodeath
08/21/2020, 3:28 PMkotlin-stdlib
package that would automatically provide newer APIs for newer versions of JavaMarc Knaup
08/21/2020, 3:31 PMSteve
08/21/2020, 4:11 PMnanodeath
08/21/2020, 4:17 PMSteve
08/21/2020, 4:25 PMnanodeath
08/21/2020, 4:26 PMnanodeath
08/21/2020, 4:27 PMMarc Knaup
08/21/2020, 4:32 PMsikri
08/21/2020, 5:20 PMnanodeath
08/21/2020, 5:24 PMnanodeath
08/21/2020, 5:25 PMSteve
08/21/2020, 5:25 PMsikri
08/21/2020, 5:25 PMnanodeath
08/21/2020, 5:27 PMsikri
08/21/2020, 5:28 PMsikri
08/21/2020, 5:28 PMsikri
08/21/2020, 5:28 PMsikri
08/21/2020, 5:28 PMSteve
08/21/2020, 5:28 PMSteve
08/21/2020, 5:29 PMnanodeath
08/21/2020, 5:30 PMkotlin with target of jdk 13 will just use those jdk java classesno? JetBrains doesn't just magically write new classes that uses the latest features
sikri
08/21/2020, 5:30 PMsikri
08/21/2020, 5:30 PMsikri
08/21/2020, 5:30 PMsikri
08/21/2020, 5:31 PMsikri
08/21/2020, 5:31 PMsikri
08/21/2020, 5:32 PMgildor
08/22/2020, 3:17 AMMarc Knaup
08/22/2020, 1:15 PMsikri
08/22/2020, 6:36 PMMarc Knaup
08/22/2020, 6:40 PM