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
20082026
-
…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 -
…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…
comment by Borkdude · 2026-02-23 · in Fast starting Clojure runtime built with GraalVM native-image and Crema -
…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? -
…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? -
…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 -
…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 -
…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
comment by gudzpoz · 2025-07-17 · in Linear Matching of JavaScript Regular Expressions -
…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 -
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 -
How does it compare to graal wasm? https://github.com/oracle/graal/blob/master/wasm/README.md/
comment by vips7L · 2025-02-25 · in Chicory: A JVM native WebAssembly runtime -
…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
comment by sgammon · 2025-02-04 · in Compiling Java into native binaries with Graal and Mill -
https://github.com/oracle/graal/issues/8350 Plz upvote
comment by sgammon · 2025-02-04 · in Compiling Java into native binaries with Graal and Mill -
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 -
https://github.com/oracle/graal/issues/8350
comment by ianopolous · 2024-06-24 · in Cosmopolitan v3.5 -
…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 -
…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
comment by eitland · 2024-06-19 · in One year of solo dev, wrapping up the grant-funded work -
…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 -
…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 -
…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
comment by pjmlp · 2024-04-17 · in Java 23: The New Features Are Officially Announced -
…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
comment by grashalm · 2024-02-03 · in Pkl, a Programming Language for Configuration -
…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…
comment by mike_hearn · 2024-01-08 · in Live Objects All the Way Down: Removing the Barriers Between Apps and VMs -
…builds with Graal native and we'll come full circle to cross-platform executables haha Edit : https://github.com/oracle/graal/issues/4854
comment by geokon · 2023-12-12 · in FFM (Foreign Function and Memory API) Goes Final -
…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
comment by mdaniel · 2023-10-04 · in Level-up your Java Debugging Skills with on-demand Debugging -
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 -
…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 -
…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
comment by nvm0n2 · 2023-08-29 · in A JVM in Rust part 5 – Executing instructions -
…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] -
…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] -
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.
comment by mike_hearn · 2023-05-09 · in CheerpJ 3.0: a JVM replacement in HTML5 and WASM to run Java on modern browsers -
…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…
comment by Mawr · 2023-03-29 · in The simplicity of single-file Golang deployments -
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 -
…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 -
…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 )
comment by anentropic · 2022-12-22 · in OpenJDK Proposes Project Galahad to Merge GraalVM Native Compilation -
…(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...
comment by cogman10 · 2022-12-21 · in OpenJDK Proposes Project Galahad to Merge GraalVM Native Compilation -
…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) -
…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…
comment by chrisseaton · 2022-10-26 · in Oracle Contributing GraalVM Community Edition Java Code to OpenJDK -
…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/... .
comment by chrisseaton · 2022-10-26 · in Oracle Contributing GraalVM Community Edition Java Code to OpenJDK -
No - GPLv2 https://github.com/oracle/graal#license
comment by jsty · 2022-10-14 · in Oracle lays off more than 200 California-based workers -
…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
comment by rschatz · 2022-08-12 · in TruffleC: A C implementation on top of JVM (2014) -
I really wish GraalVM would support iOS https://github.com/oracle/graal/issues/373
comment by lenkite · 2022-07-29 · in GraalVM 22.2: Smaller JDK size, improved memory usage, better library support -
https://github.com/oracle/graal/tree/master/sulong
comment by moonchild · 2022-07-18 · in Why am I excited about WebAssembly? -
…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 -
…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…
comment by SemanticStrengh · 2022-04-30 · in Achieving 5M persistent connections with Project Loom virtual threads -
…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 -
…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 -
…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 -
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 -
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) -
I think there is sulong for that ( https://github.com/oracle/graal/tree/master/sulong )
comment by pchanda · 2021-11-03 · in On average, Python in GraalVM is 8.92x faster than CPython