Hacker GitHub

← All repos

oracle/graal

View on GitHub ↗ ★ 21,748 Java

GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀

146 mentions on Hacker News by 94 people: 20 stories, 126 comments · first 2016-07-08 · latest 2026-10-02

Mentions per year 146 mentions · busiest year 2018 (32)
20082026
  1. …by Project Crema [2]. [1] -- https://www.graalvm.org/latest/reference-manual/native-image... [2] -- https://github.com/oracle/graal/issues/11327
    comment by nirvdrum · 2026-09-10 · in JEP 544: Ahead-of-Time Code Compilation
  2. …way to dynamically load JVM bytecode in a native-image using an interpreter. More info about Crema: https://github.com/oracle/graal/issues/11327 I'm also the author of babashka, a native fast-starting scripting tool for Clojure. For me…
  3. …Regarding UpX: it simply doesn’t work with Windows binaries generated by Graal – see this issue: https://github.com/oracle/graal/issues/7605 . They've been ignoring this for three years instead of fixing it. Meanwhile, it works perfectly…
    comment by maxandersen · 2026-01-02 · in 2026: The Year of Java in the Terminal?
  4. …Regarding UpX: it simply doesn’t work with Windows binaries generated by Graal – see this issue: https://github.com/oracle/graal/issues/7605 . They've been ignoring this for three years instead of fixing it. Meanwhile, it works perfectly…
    comment by pregnenolone · 2026-01-02 · in 2026: The Year of Java in the Terminal?
  5. …bitcode runtime that can be embedded in Spring or any other JVM application and compiled to native: https://github.com/oracle/graal/tree/master/sulong
    comment by fniephaus · 2025-12-07 · in Java Hello World, LLVM Edition
  6. …not part of OpenJDK. It's a separate project and licensed under the Universal Permissive License: https://github.com/oracle/graal/tree/master/truffle . The UPL is an OSI-approved open source license. It shouldn't be a problem to use in any…
    comment by nirvdrum · 2025-09-17 · in Java 25 officially released
  7. …WebKit 2018]. The exception is V8... Well, maybe there's another: TRegex [1] in GraalJs [2]. [1] https://github.com/oracle/graal/tree/master/regex / https://epub.jku.at/urn:nbn:at:at-ubl:1-24940 [2] https://github.com/oracle/graaljs
  8. …mx build command. [0] https://github.com/graalvm/labs-openjdk [1] https://github.com/graalvm/mx [2] https://github.com/oracle/graal
    comment by an-unknown · 2025-04-29 · in Running Clojure in WASM with GraalVM
  9. No backreference support in the state machine, disappointing https://github.com/oracle/graal/blob/master/regex/README.md
    comment by JonChesterfield · 2025-03-18 · in Matching Regexps 200 Times Faster
  10. How does it compare to graal wasm? https://github.com/oracle/graal/blob/master/wasm/README.md/
  11. …fix this, and GraalVM already ships with a Musl libc implementation, so it isn't very far off. https://github.com/oracle/graal/issues/8350
  12. https://github.com/oracle/graal/issues/8350 Plz upvote
  13. Too bad it looks stuck since about a month ago ( https://github.com/oracle/graal/issues/8350#issuecomment-210... ), needs some attention from @jart.
    comment by metadat · 2024-06-24 · in Cosmopolitan v3.5
  14. https://github.com/oracle/graal/issues/8350
    comment by ianopolous · 2024-06-24 · in Cosmopolitan v3.5
  15. …that's working on running on Cosmo-libc, combined with the WASM graal native port that's going... https://github.com/oracle/graal/issues/3391
    comment by simcop2387 · 2024-06-24 · in Cosmopolitan v3.5
  16. …and got it fixed. Also happy that they so publicly acknowledged your work to narrow it down! [1]: https://github.com/oracle/graal/issues/8747
  17. …get ready for a world of pain and incompatibilities if you intend to run real world programs. [1] https://github.com/oracle/graal/tree/master/sulong [2] https://github.com/pekd/tracer/tree/master/vmx86
    comment by an-unknown · 2024-06-07 · in Writing memory safe JIT compilers
  18. …new to GCs is the GenScavange module of SubstrateVM, a JVM written entirely in Java. Start here: https://github.com/oracle/graal/blob/master/substratevm/src/... It gets compiled to native code for use. It's actually a bit of a dialect of…
    comment by mike_hearn · 2024-05-12 · in Garbage Collectors Are Scary
  19. …did come up with a usable reproducer for the bug, filed a bug report, and the problem is fixed: https://github.com/oracle/graal/issues/8747
    comment by gergo_barany · 2024-04-22 · in Deep Bug
  20. …implementations differ, e.g. GraalVM is mostly Java 91.8%, C 3.6%. https://github.com/openjdk/jdk https://github.com/oracle/graal Two examples from many others, https://en.wikipedia.org/wiki/List_of_Java_virtual_machines
  21. …working with Apple on this for a while, and I am quite happy that we can finally read the sources! https://github.com/oracle/graal/tree/master/truffle Disclaimer: graalvm dev here. Edit: typo
  22. …the semantics of the Java bytecode language and associated tools like the JDWP debugger protocol. https://github.com/oracle/graal/tree/master/espresso This design makes it easy to experiment with new VM features that would be too difficult…
  23. …builds with Graal native and we'll come full circle to cross-platform executables haha Edit : https://github.com/oracle/graal/issues/4854
  24. …it looks to the casual observer that it's straight-up GPLv2 now so maybe my fears need revisiting: https://github.com/oracle/graal/blob/vm-23.1.0/LICENSE
  25. https://github.com/oracle/graal/blob/master/substratevm/src/... https://github.com/oracle/graal/blob/master/substratevm/src/... And in any case: JEP draft: Prepare to Restrict The Use of JNI https://openjdk.org/jeps/8307341 JEP 442:…
    comment by crustycoder · 2023-09-20 · in Leveraging Rust in our Java database
  26. …requirements). Except… when we try to build it with Jenkins on a Kubernetes cluster, this happens: https://github.com/oracle/graal/issues/7182
    comment by wice · 2023-09-17 · in Java 21 makes me like Java again
  27. …whilst having cleaner code than the Rust impl (none of these problems with lifetimes). See here: https://github.com/oracle/graal/tree/master/substratevm/src
  28. …probably a bit far off in the future. Probably would be possible via GraalVM once GC is available, https://github.com/oracle/graal/issues/3391
    comment by capableweb · 2023-08-10 · in A History of Clojure (2020) [pdf]
  29. …as objects at all like CWordPointer which lets you do raw ptr derefs. Tutorial example file: https://github.com/oracle/graal/blob/14d366284d137415f3defb2... With this you can do things like make what appears to be a C library on the…
    comment by mike_hearn · 2023-08-01 · in Rust Absolutely Positively Sucks [video]
  30. Yes, and it will JIT compile the code to native if you're using GraalVM: https://github.com/oracle/graal/tree/master/wasm But the point of JNI is to provide language bindings. WASM doesn't automatically fix the need for those.
  31. …record methods are currently implemented using reflection which completely obliterate performance: https://github.com/oracle/graal/issues/4348 " [1] This is my pet peeve. Presumably you're very familiar with the single binary Java…
  32. Just fyi - there is an open bug to target wasm for Graal java compilation. https://github.com/oracle/graal/issues/3391 to a very large extent, it is open till LLVM upstream is more functionally complete to support GC. wasm doesnt support…
    comment by sandGorgon · 2022-12-23 · in WebAssembly for the Java Geek
  33. …hype-driven culture it's unlikely. https://quarkus.io/guides/building-native-image#configuring-... https://github.com/oracle/graal > A reasonably good and ergonomic concurrency approach (like JS, unlike Java) This is also very close to…
    comment by 5e92cb50239222b · 2022-12-22 · in Hacking Go's runtime with generics
  34. …as I can tell Graal does not have cross-compilation ability currently (there is an open issue here: https://github.com/oracle/graal/issues/407 )
  35. …(python calling java calling ruby calling perl, etc). Here's the languages they already have. https://github.com/oracle/graal/blob/master/truffle/docs/Lan...
  36. …GraalVM either directly [1] or via Babashka [2]. Both are great options for get into Clojure. [1] https://github.com/oracle/graal [2] https://github.com/babashka/babashka
    comment by fuzzythinker · 2022-11-04 · in Clojure from a Schemer's perspective (2021)
  37. …find this interesting as a specific example - this is where it actually obtains memory from the OS. https://github.com/oracle/graal/blob/44e68777b130c8ee781c72b... Note the @Uninterruptible annotation - that's saying that this code is safe…
  38. …collector itself doesn't also need to allocate objects. Here's a GC for Java written in Java https://github.com/oracle/graal/tree/master/substratevm/src/... .
  39. No - GPLv2 https://github.com/oracle/graal#license
  40. …is still the same from back then, but it's a lot less work to implement. The code is available at https://github.com/oracle/graal/tree/master/sulong
  41. I really wish GraalVM would support iOS https://github.com/oracle/graal/issues/373
  42. https://github.com/oracle/graal/tree/master/sulong
    comment by moonchild · 2022-07-18 · in Why am I excited about WebAssembly?
  43. …2) human resources, c++/cli has received much less optimization effort than LLVM/GCC/C# as for Java https://github.com/oracle/graal/issues/1069#issuecomment-473... Go is the proof that GC-ed languages can be fast via AOT so it is not the…
    comment by SemanticStrengh · 2022-05-19 · in .NET 7 introduces Native AOT
  44. …expressive. Very few people know it but Oracle is developping an alternative to Loom, in parallel. https://github.com/oracle/graal/pull/4114 BTW i expect Kotlin coroutines to leverage loom eventually. As for the tailrecursive keyword, it…
  45. …time like JVM and you don't have to be burdened with learning and heaviness of JVM stack. [1] https://github.com/oracle/graal [2] https://github.com/babashka/babashka
    comment by fuzzythinker · 2022-04-27 · in Tutorial Series to learn Common Lisp quickly
  46. …which is the "VM" compiled into any program AOT compiled with the GraalVM native image tool: https://github.com/oracle/graal/tree/master/substratevm/src/... If you flick through it you'll see various annotations and types you wouldn't…
    comment by mike_hearn · 2022-03-31 · in The wild world of non-C operating systems
  47. …just want to play around with clojure to see if you like it, Babashka is a great way to start. [1] https://github.com/oracle/graal [2] https://github.com/babashka/babashka [3] https://arnoldgalovics.com/java-cold-start-aws-lambda-graalv...…
    comment by fuzzythinker · 2022-03-23 · in Clojure 1.11 is now available
  48. This is one of the most promising aspects of GraalVM and Sulong[1]. [1]: https://github.com/oracle/graal/tree/master/sulong
    comment by woadwarrior01 · 2021-12-27 · in Py2cr: A Python3 to Crystal Translator
  49. Java can run C/C++: https://github.com/oracle/graal/tree/master/sulong What's your point?
    comment by BenoitP · 2021-12-27 · in Why Is C Faster Than Java (2009)
  50. I think there is sulong for that ( https://github.com/oracle/graal/tree/master/sulong )