Project

General

Profile

Activity

From 04/07/2025 to 04/13/2025

Today

07:01 AM Feature #20233: pkg-config not working on MSVC
Can we close this because https://github.com/ruby/ruby/pull/9815 was merged? kou (Kouhei Sutou)
07:00 AM Revision cfa74dda (git): Update bundled gems list as of 2025-04-13
git[bot]
02:44 AM Revision 29b26fd3 (git): Fix macro for disabled match cache
The `MEMOIZE_LOOKAROUND_MATCH_CACHE_POINT` macro needs an argument
otherwise we end up with:
```
../regexec.c:3955:2...
dodecadaniel (Daniel Colson)

04/12/2025

05:43 PM Revision 543dd77c (git): [ruby/prism] Fix parsing rescued exception via indexed assignment
Given this code
```ruby
begin
raise '42'
rescue => A[]
end
```
Prism fails with this backtrace
```
Error: test_u...
viralpraxis (Iaroslav Kurbatov)
05:39 PM Feature #21262: Proposal: `Ractor::Port`
ko1 (Koichi Sasada) wrote in #note-8:
> The important point is that we have limited "blocking" synchronization (intr...
tenderlovemaking (Aaron Patterson)
01:13 AM Feature #21262: Proposal: `Ractor::Port`
The important point is that we have limited "blocking" synchronization (introduced by cross-Ractor communication) to ... ko1 (Koichi Sasada)
01:10 AM Feature #21262: Proposal: `Ractor::Port`
Now I understand that `find_work` takes a time and if no consumers are ready, we can't run `find_work` if there is no... ko1 (Koichi Sasada)
04:23 PM Revision a35a101b (git): Change the indent after lhs in generation rules from spaces to tabs
Change the indent to match the characters used in other generation rules. This makes it easier to find lhs. ydah (Yudai Takada)

04/11/2025

11:59 PM Feature #21264: Extract Date library from Ruby repo in the future
If we are going to remove stdlib `Date`, I would also prefer that `Date` be a core class instead of demoted to bundle... jeremyevans0 (Jeremy Evans)
03:51 PM Feature #21264: Extract Date library from Ruby repo in the future
Is it possible to, on the contrary, make Date a core class? Rails, and many other non-Rails codebases I saw, implicit... zverok (Victor Shepelev)
08:21 AM Feature #21264 (Open): Extract Date library from Ruby repo in the future
Note: This is not for Ruby 3.5.
`Date` and `DateTime` has no primary maintainer in 10+ years. I would like to depr...
hsbt (Hiroshi SHIBATA)
06:52 PM Feature #21262: Proposal: `Ractor::Port`
ko1 (Koichi Sasada) wrote in #note-5:
> > The problem with the above code is that the consumer Ractor will starve un...
tenderlovemaking (Aaron Patterson)
06:14 PM Feature #21262: Proposal: `Ractor::Port`
> The problem with the above code is that the consumer Ractor will starve until find_work returns.
I think it is s...
ko1 (Koichi Sasada)
04:19 PM Feature #21262: Proposal: `Ractor::Port`
I like this idea, and I think we should do it, but I think we still need a channel or a queue for the producer / cons... tenderlovemaking (Aaron Patterson)
05:28 PM Revision 3628e9e3 (git): Remove unused field on Thread struct
It looks like stat_insn_usage was introduced with YARV, but as far as I
can tell the field has never been used. I th...
tenderlovemaking (Aaron Patterson)
03:53 PM Feature #21258: Retire CGI library from Ruby 3.5
`CGI.escape_uri_component` and `URI.encode_uri_component` are almost the same except `*` and `~`.
`CGI.escape` and `...
tompng (tomoya ishida)
03:11 PM Feature #21221: Proposal to upstream ZJIT
> For context YJIT is essentially a baseline JIT given it does little inlining and as you say only one optimization p... maximecb (Maxime Chevalier-Boisvert)
10:16 AM Feature #21221: Proposal to upstream ZJIT
Interesting to see work starting on a CRuby optimizing method-based JIT.
For context YJIT is essentially a baseline ...
Eregon (Benoit Daloze)
09:39 AM Bug #21265 (Open): Crash when proc from Symbol#to_proc called outside refinement scope
```ruby
class RefinedScope
using(Module.new { refine(Kernel) { def itself = 0 } })
ITSELF = :itself.to_proc
e...
alanwu (Alan Wu)
09:37 AM Misc #21100: DevMeeting before RubyKaigi 2025
I'd like to go through the discussion in the order written in this HackMD (with Matz's approval).
https://hackmd.i...
ko1 (Koichi Sasada)
04:24 AM Revision 0a35c5b4 (git): Restore Windows 2022 build with VS2019 toolset
hsbt (Hiroshi SHIBATA)
03:18 AM Revision 8a15f806 (git): Fixed wrong usage of matrix.vs. That label is os version, not vs version
hsbt (Hiroshi SHIBATA)
02:30 AM Feature #21263 (Open): eval-after-require hook
I want to register hook after require.
But I have no idea how to write it.
Expected use cases:
1. Load related...
znz (Kazuhiro NISHIYAMA)
02:11 AM Revision 0e792793 (git): Note the detailed version of Visual Studio
hsbt (Hiroshi SHIBATA)
02:01 AM Revision a2b39e5c (git): Added instruction for autocrlf issue of Git on Windows
hsbt (Hiroshi SHIBATA)
01:55 AM Revision 1bd029b1 (git): Note the detailed version of Windows SDK
hsbt (Hiroshi SHIBATA)
01:49 AM Revision af69421c (git): Added instruction for MSYS2 without RubyInstaller-Devkit
hsbt (Hiroshi SHIBATA)

04/10/2025

10:23 PM Feature #18035: Introduce general model/semantic for immutability.
I found a good example of why the proposed interface would be a good idea:
https://github.com/ruby/resolv/pull/62
T...
ioquatix (Samuel Williams)
06:33 PM Revision f13e86a7 (git): Allow gdb's rp to work on classes offline
It's useful to be able to get information about classes without a
running process, ie. when debugging a coredump.
jhawthorn (John Hawthorn)
04:02 PM Misc #21154: Document or change Module#autoload?
Aha, when test.rb is required, currently `autoload` does (almost) nothing because test.rb is already being required, ... mame (Yusuke Endoh)
03:26 PM Misc #21154: Document or change Module#autoload?
@fxn Sorry for the delay. I finally watched your video.
I'm not exactly sure what you meant by "const_get hook", b...
mame (Yusuke Endoh)
03:58 PM Revision e3dd766e (git): [ruby/resolv] refactoring class-hash to be ractor-safe
mutable constants can't be shared across ractors; this changes that design to define the required variables as consta... chucke (Tiago Cardoso)
03:58 PM Revision 54a85cae (git): [ruby/resolv] config read from file should return frozen data!
https://github.com/ruby/resolv/commit/afb57f40a1 chucke (Tiago Cardoso)
02:55 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21262] Proposal: `Ractor::Port` (ko1)
* Considering with [`Channel`](https://bugs.ruby-lang.org/issues...
ko1 (Koichi Sasada)
12:23 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21219] `Object#inspect` accept a list of instance variables to display (byroot)
* Redefining `#inspect...
byroot (Jean Boussier)
02:43 PM Feature #21262 (Assigned): Proposal: `Ractor::Port`
# Proposal: `Ractor::Port`
In concurrent Ruby applications using Ractors, safely and efficiently communicating res...
ko1 (Koichi Sasada)
10:21 AM Revision 75647932 (git): Sync Bundler and adapt to new spec setup
deivid (David Rodríguez)
09:44 AM Revision 684cfa42 (git): Avoid to infinite require loop for irb.
if irb and that dependency are broken, it caused infinite loop with force_activate("irb"). hsbt (Hiroshi SHIBATA)
09:39 AM Feature #21219: `Object#inspect` accept a list of instance variables to display
https://github.com/nobu/ruby/tree/inspect_instance_variables nobu (Nobuyoshi Nakada)
08:39 AM Revision 8003a068 (git): [DOC] Use slashes in mingw confiure examples
To show that mingw `sh` expects forward slashes as path separators, not
backslashes, configure in another directory t...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 08ce6268 (git): Document order of execution const_added vs inherited
fxn (Xavier Noria)
08:29 AM Revision b47a04eb (git): Refactor bundled condition
hsbt (Hiroshi SHIBATA)
08:29 AM Revision 598b0e8b (git): The current force_activate always fails without Gemfile
hsbt (Hiroshi SHIBATA)
08:29 AM Revision 3390b6a5 (git): Added simple failing example
hsbt (Hiroshi SHIBATA)
08:25 AM Bug #21260: duping stringio objects shares cursors
I see. Alignment with File makes sense. At least my expectation was that, by dup'ing the IO object, I'd receive a sep... chucke (Tiago Cardoso)
06:55 AM Bug #21260 (Feedback): duping stringio objects shares cursors
nobu (Nobuyoshi Nakada)
05:46 AM Bug #21260: duping stringio objects shares cursors
This is how `IO#dup` works. What would be the benefit of `StringIO#dup` behaving differently?
```ruby
f = File.op...
jeremyevans0 (Jeremy Evans)
08:20 AM Revision c5c0bb5a (git): Restore the original order of const_added and inherited callbacks
Originally, if a class was defined with the class keyword, the cref had a
const_added callback, and the superclass an...
fxn (Xavier Noria)
07:49 AM Bug #21261 (Closed): Backport fix for crash in TCPSocket.open(..., nil)
byroot (Jean Boussier)
05:29 AM Feature #21258: Retire CGI library from Ruby 3.5
@kou +1, @tompng suggest `URI.escape_query_param`. I prefer these approachs.
@jeremyevans0 I understood your conce...
hsbt (Hiroshi SHIBATA)

04/09/2025

11:15 PM Feature #21254: Inlining Class#new
tenderlovemaking (Aaron Patterson) wrote in #note-7:
> I made a patch for it [here](https://github.com/ruby/ruby/com...
tenderlovemaking (Aaron Patterson)
10:18 PM Feature #21254: Inlining Class#new
jez (Jake Zimmerman) wrote in #note-6:
> I'm curious: could we add a second check after [this check](https://github....
tenderlovemaking (Aaron Patterson)
08:57 PM Feature #21254: Inlining Class#new
@tenderlovemaking Question about an extension to the current implementation.
We have a fair amount of code that lo...
jez (Jake Zimmerman)
11:02 PM Revision 86e37a9b (git): Test for the crash
nobu (Nobuyoshi Nakada)
11:02 PM Revision 7e093fb4 (git): Fix crash in TCPSocket.open
Fix segfault crash observable with TCPSocket.open(nil, nil) Luke Jahnke
08:40 PM Bug #21261: Backport fix for crash in TCPSocket.open(..., nil)
Backport PR: https://github.com/ruby/ruby/pull/13091 jhawthorn (John Hawthorn)
08:38 PM Bug #21261 (Closed): Backport fix for crash in TCPSocket.open(..., nil)
https://github.com/ruby/ruby/pull/12934
https://github.com/ruby/ruby/commit/b148dfef5aa208cafa28626fd84c9762bfdfe0ac
jhawthorn (John Hawthorn)
02:46 PM Bug #21220 (Closed): Memory corruption in update_line_coverage() [write at index -1]
Applied in changeset commit:git|0d6263bd416338a339651fb97fe4d62701704c4b.
----------
Fix coverage measurement for ne...
mame (Yusuke Endoh)
11:01 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
I created a PR.
https://github.com/ruby/ruby/pull/13089
The PR should prevent `RUBY_EVENT_COVERAGE_LINE` from f...
mame (Yusuke Endoh)
03:48 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
mame (Yusuke Endoh) wrote in #note-8:
> @mbcodeandsound Just FYI, I bet you meant to write `!(1..16).cover?(channel)`...
mbcodeandsound (Mike Bourgeous)
02:45 PM Revision 0d6263bd (git): Fix coverage measurement for negative line numbers
Fixes [Bug #21220]
Co-Authored-By: Mike Bourgeous <mike@mikebourgeous.com>
Co-Authored-By: Jean Boussier <jean.bouss...
mame (Yusuke Endoh)
02:09 PM Feature #21258: Retire CGI library from Ruby 3.5
I am in favor of retiring cgi and keeping cgi/escape feature. Of the two options, I prefer option 1 (keep only cgi/es... jeremyevans0 (Jeremy Evans)
01:08 PM Feature #21258: Retire CGI library from Ruby 3.5
`URI.encode` (not `escape`)?
kou (Kouhei Sutou)
08:57 AM Feature #21258: Retire CGI library from Ruby 3.5
I like the idea of deprecating `CGI` and moving the `escape`/`unescape` methods!
JavaScript calls the features `"h...
soutaro (Soutaro Matsumoto)
08:17 AM Feature #21258 (Open): Retire CGI library from Ruby 3.5
I would like to retire CGI library from Ruby 3.5.0 release. It means CGI is not promoted bundled gems. The users need... hsbt (Hiroshi SHIBATA)
01:31 PM Bug #21260 (Feedback): duping stringio objects shares cursors
I've found that, if I `.dup` a stringio, when I read one of the objects, the cursor also moves internally on the othe... chucke (Tiago Cardoso)
11:04 AM Bug #21259 (Assigned): The Prism compiler wrongly creates a line number of zero
test.rb
```
TracePoint.new(:line) do |tp|
p tp
end.enable
load "./target.rb"
```
target.rb
```
if true...
mame (Yusuke Endoh)
10:14 AM Revision ce0d5cc0 (git): Refine dirname test on Windows
- Compare with the root of the target file
- Fix root path of UNC path
nobu (Nobuyoshi Nakada)
10:13 AM Revision 5cf7d948 (git): [DOC] Fix contributing link
It moved in https://github.com/ruby/ruby/pull/13012 but wasn't updated here Earlopain (Earlopain _)
09:23 AM Revision b200bad6 (git): bump teeny
nagachika (Tomoyuki Chikanaga)
08:28 AM Bug #21141: `Time#utc?` does not work with a timezone object
ruby_3_3 commit:4ca521e91342165ed35cb12c9868f10e2a6aa07c merged revision(s) commit:06919949a60b42a8f30e8bd0cb075e17b0... nagachika (Tomoyuki Chikanaga)
08:27 AM Revision 4ca521e9 (git): merge revision(s) 06919949a60b42a8f30e8bd0cb075e17b05eebcd, 51bc992822f9108ad64de32d300e1cefd0e2da59, 42daa6c2a2b49b4e45f40736e25c7d182860f24a: [Backport #21141]
[Bug #21141] [DOC] Clarify what time is in UTC
[Bug #21141] [DOC] Refine description of `Time#utc?`
...
nagachika (Tomoyuki Chikanaga)
06:51 AM Revision 9f61541f (git): Re-enabled to test at win32ole
hsbt (Hiroshi SHIBATA)
04:27 AM Bug #21257 (Assigned): YJIT can generate infinite loop when OOM
hsbt (Hiroshi SHIBATA)
03:33 AM Bug #21257: YJIT can generate infinite loop when OOM
YJIT compiles the `first` and `second` methods to this (on x86_64-linux):
```
# regenerate_branch
# Block: first@infi...
rianmcguire (Rian McGuire)
03:29 AM Bug #21257 (Assigned): YJIT can generate infinite loop when OOM
We've found an edge case where YJIT can generate an infinite loop (jump to the same address) when it's out-of-memory.... rianmcguire (Rian McGuire)
01:36 AM Bug #21167: Visual Studio 2022 17.13.x couldn't build ruby.exe
vs2022 17.14.0 preview 2.0 also has this issue.
hsbt (Hiroshi SHIBATA)
01:31 AM Revision 8ab51769 (git): sed is not requirement now
hsbt (Hiroshi SHIBATA)
01:20 AM Revision 9e93759b (git): Restore assertion that is not related mswin platform
hsbt (Hiroshi SHIBATA)
12:54 AM Revision e5801451 (git): Merge RubyGems-3.6.7 and Bundler-2.6.7
hsbt (Hiroshi SHIBATA)
12:54 AM Revision db2bf9f0 (git): Merge RubyGems-3.6.6 and Bundler-2.6.6
hsbt (Hiroshi SHIBATA)

04/08/2025

11:11 PM Revision ab4a25e4 (git): [rubygems/rubygems] Follow up to removal of rubyinstaller2 workaround
https://github.com/rubygems/rubygems/commit/5b312fd040 deivid (David Rodríguez)
11:11 PM Revision ae45a7a9 (git): [ruby/json] Cleanup jeaiii-ltoa to not need pragmas
https://github.com/ruby/json/commit/97f2924d0a byroot (Jean Boussier)
11:11 PM Revision b1362e26 (git): [ruby/json] Suppress -Wunknown-pragmas warnings
https://github.com/ruby/json/commit/97f47d1cfd nobu (Nobuyoshi Nakada)
08:45 PM Bug #21193: Inherited callback returns `nil` for `Object.const_source_location`
After exchanging impressions with @byroot today, I have created https://github.com/ruby/ruby/pull/13085 to restore th... fxn (Xavier Noria)
05:46 PM Revision d5f94941 (git): [ruby/openssl] Fix the tests using SHA-1 Probabilistic Signature Scheme (PSS) parameters.
Fedora OpenSSL 3.5 on rawhide stopped accepting SHA-1 PSS[1] parameters.
This is different from the SHA-1 signatures ...
Jun Aruga
05:34 PM Bug #21256 (Assigned): `it` value is wrapped in an array when that doesn't happen with numbered parameter
Here is a repro without rspec.
```ruby
class C
define_method(:foo) do
p it
end
end
class D < C
...
mame (Yusuke Endoh)
04:42 PM Bug #21256 (Assigned): `it` value is wrapped in an array when that doesn't happen with numbered parameter
I have the following script:
```rb
require "bundler/inline"
gemfile do
source "https://rubygems.org"
g...
Earlopain (Earlopain _)
05:34 PM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
> In any case, it was reaffirmed that matz strongly prefers that `<internal:` not be displayed.
I somewhat agree t...
Dan0042 (Daniel DeLorme)
03:22 AM Misc #20968: `Array#fetch_values` unexpected method name in stack trace
`rake` suppressed these backtrace at https://github.com/ruby/rake/pull/554
I'm +1 to proposal of mame and matz.
hsbt (Hiroshi SHIBATA)
04:52 PM Revision 5aa05f17 (git): Fix lldb debug scripts (#13048)
In ruby/ruby#13008 `RVALUE` was removed without replacement. This means
the lldb scripts that relied on `RVALUE` stop...
Eileen
04:18 PM Feature #21254: Inlining Class#new
Btw, @ko1 came up with this idea, so I want to say thanks to him. tenderlovemaking (Aaron Patterson)
04:02 PM Feature #21254: Inlining Class#new
Earlopain (Earlopain _) wrote in #note-3:
> > As you can see in the above output, the Class#new frame is eliminated....
tenderlovemaking (Aaron Patterson)
06:58 AM Feature #21254: Inlining Class#new
> As you can see in the above output, the Class#new frame is eliminated. I'm not sure if anyone really cares about th... Earlopain (Earlopain _)
01:37 AM Feature #21254: Inlining Class#new
ko1 (Koichi Sasada) wrote in #note-1:
> `swap` is remained?
I [made a patch to remove `swap`](https://github.com/...
tenderlovemaking (Aaron Patterson)
12:45 AM Feature #21254: Inlining Class#new
`swap` is remained? ko1 (Koichi Sasada)
03:15 PM Feature #21221: Proposal to upstream ZJIT
Thank you for you trust Matz!
I think it should be helpful to onboard new people if we have an architecture that i...
maximecb (Maxime Chevalier-Boisvert)
07:10 AM Feature #21221: Proposal to upstream ZJIT
I agree with making ZJIT upstream. And I feel no worry about the migration, since I trust the team with merging proce... matz (Yukihiro Matsumoto)
01:00 PM Feature #16993: Sets: from hash keys using Hash#key_set
mame (Yusuke Endoh) wrote in #note-9:
> Given the convention of deriving methods such as `key_set` from `keys`, wher...
Dan0042 (Daniel DeLorme)
05:54 AM Feature #16993: Sets: from hash keys using Hash#key_set
Given the convention of deriving methods such as `key_set` from `keys`, where the former returns a set instead of an ... mame (Yusuke Endoh)
10:43 AM Bug #21255 (Assigned): Can't build Ruby with Windows SDK 10.0.26100
hsbt (Hiroshi SHIBATA)
07:05 AM Bug #21255 (Assigned): Can't build Ruby with Windows SDK 10.0.26100
I tried to build ruby.exe with Windows SDK 10.0.26100. But it failed with:
```
dmyext.obj dmyenc.obj
linking sha...
hsbt (Hiroshi SHIBATA)
09:23 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> So I guess I should merge the proposed patch as a precaution?
I think so yes, with that eval code as a test case.
byroot (Jean Boussier)
08:47 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
byroot (Jean Boussier) wrote in #note-7:
> Can source line ever legitimately be `0`?
With `eval`, it can. It can ...
mame (Yusuke Endoh)
08:32 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
@mbcodeandsound Just FYI, I bet you meant to write `!(1..16).cover?(channel)` in the following line.
https://git...
mame (Yusuke Endoh)
08:28 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Nice find!
Can source line ever legitimately be `0`? Perhaps we are missing some assertions that would have caught...
byroot (Jean Boussier)
08:25 AM Bug #21220 (Assigned): Memory corruption in update_line_coverage() [write at index -1]
@byroot Thanks! I think this is an issue of the prism compiler handling the line number around a flip-flop syntax.
t...
mame (Yusuke Endoh)
07:50 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
What I've figured for now it that the corruption is triggered by:
```ruby
# This require line makes sure the or...
byroot (Jean Boussier)
07:43 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> The issue reproduces on my machine, but it's very rare.
You can make it happen 100% of the time with the follow...
byroot (Jean Boussier)
07:41 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Thanks for the report. The issue reproduces on my machine, but it's very rare. I haven't figured out what happens.
...
mame (Yusuke Endoh)
07:00 AM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
> I do not know if it's normal for rb_sourceline() to return 0
Yes:
```ruby
const char *
rb_sourcefile(vo...
byroot (Jean Boussier)
07:24 AM Misc #21154: Document or change Module#autoload?
Hi @mame, did you have a chance to watch the video or discuss it in a dev meeting? fxn (Xavier Noria)
06:46 AM Revision b68fe530 (git): Windows 11 24H2 with VS 2019 16.11.45 couldn't handle long name test
```
2) Error:
TestDir#test_children_long_name:
Test::Unit::ProxyError: No such file or directory @ apply2files - C:...
hsbt (Hiroshi SHIBATA)
06:46 AM Revision 10d6ee65 (git): Skip some assertions of TestFileExhaustive#test_dirname with Windows platform.
These assertions didn't handle drive letter of Windows
```
1) Failure:
TestFileExhaustive#test_dirname [V:/github....
hsbt (Hiroshi SHIBATA)
06:00 AM Bug #21104: Net::HTTP connections failing in Ruby >= 3.4.0 on macOS with Happy Eyeballs enabled

>For those experiencing this problem, can you successfully run the following script?
```
➜ ruby-sandbox ruby -...
chokkoy (Naoyuki Yamada)
03:12 AM Revision d17ab5a4 (git): [ruby/mmtk] Do root scanning in scan_vm_specific_roots
We rely on scan_vm_specific_roots to reach all stacks via the following
path:
VM -> ractors -> threads -> fibers...
wks (Kunshan Wang)

04/07/2025

11:56 PM Revision b3b1d7b2 (git): Remove spinlock in dtoa's Balloc, use xmalloc
The spinlock here performs poorly when there are multiple Ractors. The
improvement on single threaded performance doe...
jhawthorn (John Hawthorn)
11:09 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21254] Inline YARV instructions for `Class#new`
* Patch inlines YARV instructions for calls to `new`
...
tenderlovemaking (Aaron Patterson)
06:31 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21221] Proposal to upstream ZJIT
* The YJIT team has been working on ZJIT, a more advanced Ruby JIT
...
maximecb (Maxime Chevalier-Boisvert)
04:37 PM Misc #21100: DevMeeting before RubyKaigi 2025
* [Feature #21216] Implement Set as a core class (jeremyevans0)
* I propose to implement Set as a core class.
*...
jeremyevans0 (Jeremy Evans)
11:03 PM Feature #21254 (Open): Inlining Class#new
We would like to propose inlining YARV bytecode for speeding up object allocations, specifically inlining the `Class#... tenderlovemaking (Aaron Patterson)
06:44 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
> could only symbols be used to simplify the syntax further?
Technically possible, but not ideal because of variou...
byroot (Jean Boussier)
06:41 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
From an developer ergonomic standoint, could only symbols be used to simplify the syntax further? Example:
``` rub...
bkuhlmann (Brooke Kuhlmann)
06:34 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
I'm fine with either of those, with perhaps a slight preference for `private def inspect_instance_variables = [:@a, :... byroot (Jean Boussier)
06:17 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
I agree with @mame that a keyword argument to `#inspect` is undesirable. `#inspect_instance_variables` is one possibl... jeremyevans0 (Jeremy Evans)
05:37 PM Feature #21219: `Object#inspect` accept a list of instance variables to display
Just FYI, pretty_print already has that mechanism. It allows to control the list of instance variables that should be... mame (Yusuke Endoh)
01:29 PM Feature #21219 (Open): `Object#inspect` accept a list of instance variables to display
## Context
The default `Object#inspect` implementation is quite useful to have a generic representation of objects...
byroot (Jean Boussier)
06:27 PM Feature #21221 (Open): Proposal to upstream ZJIT
# Background
For the past 3 months, the YJIT team at Shopify has been working on a next-generation Ruby JIT, which...
maximecb (Maxime Chevalier-Boisvert)
05:33 PM Bug #21220: Memory corruption in update_line_coverage() [write at index -1]
Something like this should prevent the memory corruption, but may be hiding a deeper issue:
``` diff
--- thread.c...
mbcodeandsound (Mike Bourgeous)
05:27 PM Bug #21220 (Closed): Memory corruption in update_line_coverage() [write at index -1]
Hello!
I have encountered repeatable memory corruption in Ruby 3.4.2 on Ubuntu 24.04.2 LTS, which I believe is hap...
mbcodeandsound (Mike Bourgeous)
02:43 PM Bug #21201: Performance regression when defining methods inside `refine` blocks
Your patch look really good.
I wonder if it would be possible to do like the `vm->constant_cache` table, have the ...
byroot (Jean Boussier)
02:16 PM Bug #21201: Performance regression when defining methods inside `refine` blocks
byroot (Jean Boussier) wrote in #note-1:
> The solution is likely to keep the list (set) of all existing call caches...
alpaca-tc (Hiroyuki Ishii)
02:37 PM Revision 4646ab89 (git): Use correct warn method
Kanstantsin Shautsou
02:30 PM Bug #21218 (Rejected): SizedQueue not stopping threads in push even when non_block: false
The `non_block` argument is a positional argument, not a keyword argument, and `{non_block: true}` is considered true... jeremyevans0 (Jeremy Evans)
11:17 AM Bug #21218 (Rejected): SizedQueue not stopping threads in push even when non_block: false
Use this to recreate
``` ruby
3.1.4 :019 > sq.push(1, non_block: true)
=> #<Thread::SizedQueue:0x00007f39e759af60...
0raghvendrrao (Raghvendra Rao)
01:41 PM Bug #21214 (Closed): VmRSS consumption increase in Ruby 3.4.2 vs Ruby 3.3.6
Applied in changeset commit:git|d4406f0627c78af31e61f9e07dda9151e109dbc4.
----------
Grow GC heaps independently
[B...
peterzhu2118 (Peter Zhu)
01:41 PM Revision e3abdfbc (git): Skip test_heaps_grow_independently for MMTk
peterzhu2118 (Peter Zhu)
01:41 PM Revision d4406f06 (git): Grow GC heaps independently
[Bug #21214]
If we allocate objects where one heap holds transient objects and another
holds long lived objects, the...
peterzhu2118 (Peter Zhu)
12:21 PM Bug #21217: Integer.sqrt produces wrong results even on input <= 1e18
ruby_3_3 commit:a67e9e41846cdadad9bb2d9e9d10223c52253898 merged revision(s) commit:3a7b9ca93b91dcc086b9ac8b9957e59268... nagachika (Tomoyuki Chikanaga)
02:08 AM Bug #21217 (Closed): Integer.sqrt produces wrong results even on input <= 1e18
Applied in changeset commit:git|3a7b9ca93b91dcc086b9ac8b9957e59268f9493b.
----------
Fix `Integer.sqrt` to never exc...
mame (Yusuke Endoh)
12:19 PM Revision a67e9e41 (git): merge revision(s) 3a7b9ca93b91dcc086b9ac8b9957e59268f9493b: [Backport #21217]
Fix `Integer.sqrt` to never exceed actual value
`Integer.sqrt` uses `sqrt(3)` from libm for small values.
...
nagachika (Tomoyuki Chikanaga)
10:00 AM Revision 432e5fa7 (git): prism_compile.c: Avoid zero length allocation
The constant pool may be empty. byroot (Jean Boussier)
09:30 AM Bug #20255: Embedded arrays aren't moved correctly across ractors
For the record, I went back to a lower level copying code, but made it size pool aware: https://github.com/ruby/ruby/... byroot (Jean Boussier)
06:11 AM Revision 135e5bff (git): Update bundled gems list at d485638a08a4561cd2f9c28d29b6d0 [ci skip]
git[bot]
06:10 AM Revision d485638a (git): Allow win32ole test failure
```
D:/a/ruby/ruby/src/gems/src/win32ole/test/win32ole/test_win32ole_event.rb:80:in 'TestWIN32OLE_EVENT_SWbemSink#def...
hsbt (Hiroshi SHIBATA)
06:10 AM Revision f70bf784 (git): Fixed wrong condition to avoid flaky ractor_test.rb
hsbt (Hiroshi SHIBATA)
06:10 AM Revision be5dea97 (git): Rename test command for test-unit
https://github.com/test-unit/test-unit/commit/b7d3c32f6e334e1823e30c053c2268893cf073ef hsbt (Hiroshi SHIBATA)
06:10 AM Revision a4b4dad4 (git): Update bundled_gems
hsbt (Hiroshi SHIBATA)
02:08 AM Revision 3a7b9ca9 (git): Fix `Integer.sqrt` to never exceed actual value
`Integer.sqrt` uses `sqrt(3)` from libm for small values.
This method must return a value less than or equal to the a...
mame (Yusuke Endoh)
 

Also available in: Atom