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. 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
  2. …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)
  3. …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
  4. …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
  5. 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
  6. …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
  7. …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.
  8. 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
  9. …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…
  10. …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
  11. …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
  12. …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…
  13. …Project Espresso isn't public yet, but here's the latest update from the team working on it: https://github.com/oracle/graal/issues/1656#issuecomment-664...
    comment by fniephaus · 2020-08-10 · in GraalVM
  14. ….org/docs/reference-manual/native-image/ [3] https://www.beyondjava.net/truffle-compiler-compiler [4] https://github.com/oracle/graal/blob/master/sulong/README.md
    comment by kasperni · 2020-08-10 · in GraalVM
  15. …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
  16. …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…
  17. 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
  18. …without PGO might be worse than with JIT, at least in some experiments that I did. See also https://github.com/oracle/graal/issues/979
    comment by meisterT · 2019-10-18 · in Bazel 1.0
  19. …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
  20. 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?
  21. 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…
  22. …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
  23. …of Windows Indeed. That description should be fixed. One click away there is a Windows build: https://github.com/oracle/graal/releases
  24. …compatible with newer JDKs and it's just native image generation that's blocking the upgrade? https://github.com/oracle/graal/issues/651
  25. …writing fast language runtimes for the Java platform or standalone that chrisseaton is working on ( https://github.com/oracle/graal/tree/master/truffle ).
  26. …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
  27. 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)
  28. …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)
  29. …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
  30. …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
  31. …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
  32. …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)…
  33. …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
  34. …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...
  35. 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
  36. …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...
  37. 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…
  38. …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
  39. 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.
  40. …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
  41. …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
  42. 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
  43. …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
  44. …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
  45. …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
  46. …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...
  47. That's GNU GPL 2 https://github.com/oracle/graal/blob/master/LICENSE
  48. > It's Open Source: https://github.com/oracle/graal Sure. That doesn't change my statement though.
  49. 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)
  50. …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