5 ms·
> while kotlin can replace java completely I am not sure it can be be concluded from any data. They have come up with just a tech preview. Doing better job tha
by geodel 10y ago
> while kotlin can replace java completely
I am not sure it can be be concluded from any data. They have come up with just a tech preview. Doing better job than Rust/Swift/Java or Go to have high perf on native platforms is going to be a huge effort. Just having a binding via LLVM is a small start.
Hope they do better but for now it seems to me that hype around it is about 2-3 magnitudes higher than the actual amount of software written in it.
- jorgemf 10y agokotlin can replace java completely because it compiles to bytecode (as java does). And then it is the bytecode what is compiled/interpreted in the JVM. The tech preview is about kotlin compiling directly to machine code. They already said they haven't done any optimization into that code. I guess they use some intermediate language for the compiler to translate it to machine code. (note that all the compilers translate the original input file into this intermediate language before compiling it to the final code, so they can do a lot of optimization and checks in this code which are shared among all languages)