通过LLVM前端进行编译的Kotlin/Native和Java字节码之间有什么区别? [英] What's the difference between Kotlin/Native and Java bytecode with compile through LLVM frontend?

查看:211
本文介绍了通过LLVM前端进行编译的Kotlin/Native和Java字节码之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Kotlin具有出色的技术可编译为本地二进制文件-它基于LLVM.
但是Java字节码也可以编译为LLVM-有一个 Java前端,用于将.class文件编译为LLVM位代码.
如果我通过Kotlin Native编译Kotlin还是将Kotlin编译为Java字节码,然后再将字节码编译为LLVM位码,会有什么不同?

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?

推荐答案

答案很简单:没有Java前端:)基本上,这是概念验证,从未脱离实验状态.

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

这篇关于通过LLVM前端进行编译的Kotlin/Native和Java字节码之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆