What's the difference between Kotlin/Native and Java bytecode with compile through LLVM frontend?
Asked Answered
M

1

3

Kotlin have great technology for compiling to native binaries - it's based on LLVM.
But Java bytecode can compile to LLVM too - there is a java frontend for compile .class files into LLVM bitcode.
What differences, if I compile Kotlin through Kotlin Native or if I compile Kotlin to Java bytecode, and then compile bytecode to LLVM bitcode?

Marimaria answered 7/3, 2020 at 17:15 Comment(1)
That frontend is far from being a finished, usable compiler.Sophi
C
4

The answer is simple: there is no java frontend :) It was basically something proof-of-concept which never went out of experimental state.

Cosset answered 9/3, 2020 at 10:47 Comment(1)
Anton: never say never ;)Sophi

© 2022 - 2024 — McMap. All rights reserved.