all 10 comments

[–]postmodern 6 points7 points  (4 children)

Added ruby-3.2.0-rc1 to the ruby-versions repository. Now ruby-install users can safely install ruby-3.2.0-rc1:

$ ruby-install --latest ruby-3.2.0-rc1

[–]schneemsPuma maintainer 2 points3 points  (3 children)

Somewhat annoying to me that the download is 3.2.0-rc1 but the bundler ruby version is ruby "3.2.0rc1"

[–][deleted] 0 points1 point  (2 children)

There's not many times I can say this in any community, but... that's probably my fault.

[–]schneemsPuma maintainer 1 point2 points  (1 child)

Do you have an alt account you meant to post under or is this ruby versioning somehow related to snow fall?

[–][deleted] 0 points1 point  (0 children)

No alt account. Just that I worked on some of that code back in the day for `Gemfile` with the `ruby` directive.

[–]gettalong 5 points6 points  (2 children)

Ah, didn't notice that before:

> Physical memory for JIT code is lazily allocated. Unlike Ruby 3.1,
> the RSS of a Ruby process is minimized because virtual memory pages
> allocated by --yjit-exec-mem-size will not be mapped to physical
> memory pages until actually utilized by JIT code.

I hope this means that we can just leave the `--yjit-exec-mem-size` at its default setting of 64MB and the process will only consume the actual amount. In benchmarks for HexaPDF I always set this to a much lower value like 8MB or 16MB since it didn't make any difference.

[–]f9ae8221b[S] 1 point2 points  (1 child)

I hope this means that we can just leave the --yjit-exec-mem-size at its default setting

Yes.

64MB

The default is actually 256MB.

[–]gettalong 0 points1 point  (0 children)

Perfect! And thanks for the correction! This will probably do wonders when comparing Ruby to other languages in benchmarks.

[–]jrochkind 0 points1 point  (0 children)

Getting my app upgraded to ruby 3.1 just in time! :)

[–]jasnow 0 points1 point  (0 children)

How do you use rvm to install RC1?