←back to thread

Java Hello World, LLVM Edition

(www.javaadvent.com)
200 points ingve | 1 comments | | HN request time: 0s | source
Show context
zkmon ◴[] No.46181500[source]
What's wrong with using the standard JDK for Java code?
replies(1): >>46181596 #
throwaway150 ◴[] No.46181596[source]
Nothing wrong with it. Why would you assume the author is in anyway hinting that there's something wrong with using the standard JDK for Java code?
replies(1): >>46181679 #
zkmon ◴[] No.46181679[source]
Ok. Let me ask differently. Why would I download and use LLVM for working with java code? Which usecases favor this?
replies(5): >>46181704 #>>46181810 #>>46182040 #>>46182173 #>>46182184 #
1. drzaiusx11 ◴[] No.46181704{3}[source]
This is interop glue to cross language boundaries in the JVM without the problems that come with JNI. The natural goal/use-case being that you can call pre-existing code in other languages that target LLVM IR.