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
-
Of course you could run Rust on the JVM (more precisely on GraalVM)! Have a look at Project Sulong. https://github.com/oracle/graal/tree/master/sulong
comment by still_grokking · 2021-08-08 · in Why WebAssembly is innovative even outside the browser -
…The GraalVM is a Java implementation of the Java compiler and VM and it's also on GitHub: https://github.com/oracle/graal
comment by brabel · 2021-05-15 · in Java JDK 1.0 (1996) -
…assuming support for ZGC read barriers has been implemented in Graal. EDIT: apparently not yet :( https://github.com/oracle/graal/issues/2149
comment by aseipp · 2021-03-24 · in ZGC – What's new in JDK 16 -
…Java/javascript/python all without major FFI penalties and possible cross language optimizations. https://github.com/oracle/graal/tree/master/sulong
comment by cogman10 · 2021-03-17 · in The Modern Java Platform – 2021 Edition -
Good question: GraalVM support taking LLVM IR as an input https://github.com/oracle/graal/tree/master/sulong Which means that graalVM can support any llvm language almost out of the box (in theory) Llvm IR however has not been designed…
comment by The_rationalist · 2021-03-17 · in The Modern Java Platform – 2021 Edition -
…want a concrete example, here's a 6 GB repo that's 90% Java, 5% C, then some other languages. https://github.com/oracle/graal It's not even a mono-repo - this is just part of the project. Maybe someone's got some tools that let them dig…
comment by chrisseaton · 2021-03-16 · in Improving large monorepo performance on GitHub -
…a few instructions' Here it is in a real industrial compiler and garbage collector, for example. https://github.com/oracle/graal/blob/f9530b0948c58a66845e84f... It's precisely as I've described.
comment by chrisseaton · 2021-03-13 · in Drop millions of allocations by using a linked list (2015) -
Check https://github.com/oracle/graal . From readme: > GraalVM is a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Clojure, Kotlin, and LLVM-based languages…
comment by pogorniy · 2021-02-25 · in One Way to Represent Things -
…If you can read Java code and you are interested in how it is implemented start reading here: https://github.com/oracle/graal/blob/espresso/espresso/src/c... If you are interested in a deep dive into the Truffle technology and are…
comment by grashalm · 2021-01-20 · in Java on Truffle – Going Fully Metacircular -
…closed, but the last opensource version continued to be used and developed by the community. 0. https://github.com/oracle/graal/blob/master/truffle/LICENSE....
comment by moonchild · 2021-01-20 · in Java on Truffle – Going Fully Metacircular -
…Kit ... > Running HelloWorld on three nested layers of Espresso takes ~15 minutes. Link: https://github.com/oracle/graal/tree/6dd83cd94763b8736b42063...
comment by fniephaus · 2021-01-20 · in Java on Truffle – Going Fully Metacircular -
…on HotSpot, and on GC safepoints, and so on. GraalVM uses its own GC, and has some limitations: https://github.com/oracle/graal/blob/master/substratevm/Limi... (basically it needs to statically know what will be accessed via reflection, so…
comment by pas · 2020-09-25 · in Graalphp: An Efficient PHP Implementation Built on GraalVM -
…fact I'm seeing basic ARM intrinsics still being added to the Graal compiler in the last few weeks! https://github.com/oracle/graal/pull/2588 > You really can just drop you jar on an ARM (m6g), AMD (m5a) or Intel (m5, m5n) expect the same…
comment by chrisseaton · 2020-07-09 · in Nvidia is now worth more than Intel -
…what to tell you except this is how real production compilers written by experts work in practice. https://github.com/oracle/graal/blob/4553ea71f15c9e4721565e9... You can argue this is a bug and they shouldn't write like this, but they…
comment by chrisseaton · 2020-05-05 · in How to trigger races reliably in the Linux kernel -
These are different things. https://github.com/oracle/graal/blob/master/substratevm/LIMI... Where SBCL just adds some compiled code, writes a memory dump out in a second. Then this can be run as a new SBCL with added code - it still…
comment by lispm · 2020-02-14 · in Cloture: Clojure in Common Lisp -
…retroactively to go after those users (unless Oracle decides to modify/replace the license). [1]: https://github.com/oracle/graal/blob/master/LICENSE
comment by eslaught · 2019-09-25 · in Graal Autovectorization -
WASM: https://github.com/oracle/graal/issues/1358 Wasn't able to find anything about RISC-V, file an issue :)
comment by mooreds · 2019-09-16 · in GraalVM: The holy graal of polyglot JVM? -
https://github.com/oracle/graal The evolution from MaximeVM, which is now increasingly being integrated into OpenJDK as part of project Metropolis. As for the CLR, it supports VB.NET, C++ and C# since day one, including a Common Language…
comment by pjmlp · 2019-08-21 · in WebAssembly Interface Types: Interoperate with All the Things -
…pass `--shared`. (You can also define multiple exports via public static ... and some annotations https://github.com/oracle/graal/blob/master/substratevm/READ... ) of course it's a little bit akward to first create a "JVM" library and then…
comment by merb · 2019-07-29 · in OpenPDF 1.3.0 -
…of Windows Indeed. That description should be fixed. One click away there is a Windows build: https://github.com/oracle/graal/releases
comment by grashalm · 2019-07-16 · in Libgraal: GraalVM compiler as a precompiled GraalVM native image -
…compatible with newer JDKs and it's just native image generation that's blocking the upgrade? https://github.com/oracle/graal/issues/651
comment by kvlr · 2019-07-08 · in React Server Side Rendering with GraalVM for Clojure -
…writing fast language runtimes for the Java platform or standalone that chrisseaton is working on ( https://github.com/oracle/graal/tree/master/truffle ).
comment by pron · 2019-06-19 · in Clojerl – Clojure for the Erlang VM -
…GraalVM itself also depends on javacpp for a portion of its features (LLVM wrapper): https://github.com/oracle/graal/blob/315f5dcf69c2e73fd13a5f8... I'd be happy to answer questions about the overlap of the 2. I can say I happily execute…
comment by agibsonccc · 2019-06-16 · in Node.js and Python Interoperability -
See this real-world assembler for example https://github.com/oracle/graal/tree/master/compiler/src/org... Then take a random instruction https://github.com/oracle/graal/blob/master/compiler/src/org... See how it has common methods used by…
comment by chrisseaton · 2019-05-28 · in An x86 Assembler in 256 LOC (2017) -
…this helper method which is parameterised by a bunch of flags and can then deal with all of them. https://github.com/oracle/graal/blob/f3a3576493f87abdea1045d... Even that looks complicated! But writing this per instruction (the simple…
comment by chrisseaton · 2019-05-28 · in An x86 Assembler in 256 LOC (2017) -
…under LLVM in the release notes. Its code base has been merged into GraalVM's main repository at https://github.com/oracle/graal .
comment by fniephaus · 2019-05-11 · in GraalVM 19.0 -
…noting is that Oracle has completely open sourced the Community Edition and actively developing it https://github.com/oracle/graal (I work at Oracle)
comment by suyash · 2019-05-11 · in GraalVM 19.0 -
…code, you can use it with GraalVM. i.e., call C/C++ functions from Javascript through GraalVM. [1] https://github.com/oracle/graal/tree/master/sulong
comment by the-alchemist · 2019-05-10 · in ClojureScript: Graal.js REPL Environment -
…made or paying too much to Oracle. GraalVM CE is licensed under GPL 2 with Classpath exception ( https://github.com/oracle/graal/blob/master/LICENSE ), specifically so that binaries created with GraalVM (which contain the GraalVM runtime)…
comment by fcurts · 2019-05-04 · in Negotiations Failed: How Oracle Killed Java EE -
…OpenJDK builds (from Azul, RedHat, Amazon, or IBM) is a good opportunity to also try GraalVM: https://github.com/oracle/graal/releases
comment by aphexairlines · 2019-04-09 · in Winter Is Coming for Java Updates -
…only support a subset of JVM features. The Vert.x article itself mentions that, as well as this: https://github.com/oracle/graal/blob/master/substratevm/LIMI...
comment by cle · 2019-03-03 · in Case Study: Npm uses Rust for its CPU-bound bottlenecks [pdf] -
Graal project has other point of view. https://github.com/oracle/graal/tree/master/sulong
comment by pjmlp · 2019-02-27 · in Universal Binaries Using WASM -
…engines are on the way, and ARM support is in there. Hopefully they'll perform well. [0] [1] [0] https://github.com/oracle/graal/issues/632 [1] https://github.com/oracle/graal/pulls?utf8=%E2%9C%93&q=is%3A...
comment by MaxBarraclough · 2019-02-22 · in Linus Torvalds on Why ARM Won't Win the Server Space -
GraalVM is Open Source and licensed under the same license as OpenJDK: https://github.com/oracle/graal It is true that GraalVM has a proprietary version too, that AFAIK has extra features, but the open source version is impressive on its…
comment by bad_user · 2019-01-29 · in Google: Oracle Java win will kill software development, so SCOTUS must rule -
…implementation, in contrast to the tight coupling you'd have with a language-specific JIT. [1] -- https://github.com/oracle/graal/tree/master/truffle [2] -- https://github.com/oracle/graal/tree/master/compiler [3] --…
comment by nirvdrum · 2019-01-25 · in Compilers for Free -
They already did: https://github.com/oracle/graal/tree/master/sulong It's a part of Graal itself now. It runs C, C++, Rust, etc.
comment by mike_hearn · 2018-10-02 · in The Costs of Programming Language Fragmentation -
…optimizations - that is EE only. As such, native binaries will start faster, but run slower. https://github.com/oracle/graal/issues/447#issuecomment-3995...
comment by divs1210 · 2018-09-18 · in Native Clojure with GraalVM -
…optimizations - that is EE only. As such, native binaries will start faster, but run slower. https://github.com/oracle/graal/issues/447#issuecomment-3995...
comment by divs1210 · 2018-09-18 · in Native Clojure with GraalVM -
Graal PGO seems to be enterprise only. https://github.com/oracle/graal/issues/447#issuecomment-3995...
comment by divs1210 · 2018-09-18 · in Native Clojure with GraalVM -
…and Oracle is a bit comical. It's all... right there. [1] https://www.graalvm.org/docs/faq/ [2] https://github.com/oracle/graal
comment by dnomad · 2018-09-18 · in Native Clojure with GraalVM -
…is open-source and most projects under its umbrella are [GPL2-with-classpath-exception licensed]( https://github.com/oracle/graal/#license ). The fact that they also have an Enterprise Edition does not make this a non-community project.
comment by brabel · 2018-09-09 · in Time to look beyond Oracle's JDK -
…C and JS (and other languages) is possible if they're implemented via Graal's Truffle library: https://github.com/oracle/graal/tree/master/truffle
comment by sdegutis · 2018-09-03 · in Compiling dynamic programming languages -
…for CLIs and cloud lambdas. [1] https://medium.com/graalvm/instant-netty-startup-using-graal... [2] https://github.com/oracle/graal/blob/master/substratevm/LIMI...
comment by BenoitP · 2018-08-12 · in Vert.x native: how to run a JVM app in 10Mb of RAM -
That's GNU GPL 2 https://github.com/oracle/graal/blob/master/LICENSE
comment by akerro · 2018-07-20 · in Command-line apps with Clojure and GraalVM: 300x better startup times -
> It's Open Source: https://github.com/oracle/graal Sure. That doesn't change my statement though.
comment by kodablah · 2018-07-20 · in Command-line apps with Clojure and GraalVM: 300x better startup times -
It's Open Source: https://github.com/oracle/graal I made a very small contribution (removing 4 incorrect quote characters from some sample JSON code)
comment by msgilligan · 2018-07-20 · in Command-line apps with Clojure and GraalVM: 300x better startup times -
…code could and couldn't do and that generally developers would shoot themselves in the foot. [0]: https://github.com/oracle/graal/blob/master/sdk/src/org.graa... [1]: https://www.youtube.com/watch?v=LoyBTqkSkZk
comment by kjeetgill · 2018-07-07 · in Interfacing with native methods on Graal VM