Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TruffleRuby and TruffleRuby+GraalVM 23.0.0 #2207

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

eregon
Copy link
Member

@eregon eregon commented Jun 13, 2023

* Use the new Oracle GraalVM distribution which uses the GFTC license as it is
  significantly faster than GraalVM CE and is free for development and production use.
* See https://medium.com/graalvm/whats-new-in-graalvm-languages-161527df3d76
@eregon eregon requested review from mislav and hsbt June 13, 2023 22:52
platform="$(uname -s)-$(uname -m)"
case $platform in
Linux-x86_64)
install_package "truffleruby-23.0.0" "https://gds.oracle.com/api/20220101/artifacts/FD4AB182EA4CEDFDE0531518000AF13E/content#57f770e7ba754327c8c160571978c7da0e10a086f8b5dc542e5c8ff5b2c83190" truffleruby
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These URLs are not pretty, but they are stable and should keep working forever.
We're working on getting a stable URL format for them, similar to truffleruby+graalvm-23.0.0 in the other file.

@hsbt
Copy link
Member

hsbt commented Jun 13, 2023

👍 I have questions about new GraalVM.

  • Is the new GraalVM only for TruffleRuby-23.0 or later?
  • Should we switch new GraalVM from GraalVM CE for TruffleRuby-23.0 or later? I'm curious to see what happens to GraalVM CE in the future.

@eregon
Copy link
Member Author

eregon commented Jun 13, 2023

  • Is the new GraalVM only for TruffleRuby-23.0 or later?

Yes.

  • Should we switch new GraalVM from GraalVM CE for TruffleRuby-23.0 or later? I'm curious to see what happens to GraalVM CE in the future.

That's what this PR does.

There is still GraalVM CE and also for future releases, but given Oracle GraalVM is faster and free for development and production use, I think there is little value to use GraalVM CE.
I want to give the best experience to TruffleRuby users, and Oracle GraalVM provides that through being faster and more efficient (also in memory used).

To clarify, before 23.0 it was called GraalVM Enterprise Edition, which was not free for production use, now it's called Oracle GraalVM and is under the GFTC license and so it is free for development and production use.

The FAQ linked in the blog post has more details (GraalVM for JDK 17/20 corresponds to the GraalVM 23.0.0 release, we always use the LTS JDK for TruffleRuby in ruby-build, which is 17 here).

@hsbt
Copy link
Member

hsbt commented Jun 13, 2023

Thanks for your explanation.

@eregon eregon merged commit 4f44477 into rbenv:master Jun 14, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants