General

Profile

Eregon (Benoit Daloze)

  • Login: Eregon
  • Registered on: 07/30/2009
  • Last sign in: 01/07/2025

Issues

open closed Total
Assigned issues 1 59 60
Reported issues 21 187 208

Projects

Project Roles Registered on
Ruby Committer 08/02/2012
Backport187 Committer 06/18/2013
Backport191 Committer 08/02/2012
Backport192 Committer 08/02/2012
Backport193 Committer 08/02/2012
Backport200 Committer 02/17/2013
Backport21 Committer 12/21/2013
Backport22 Committer 12/19/2014
Ruby 1.8 Committer 08/02/2012
Ruby master Committer 08/02/2012

Like

Activity

01/16/2025

03:56 PM Ruby master Bug #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
I think it's a bug, because it breaks fundamental Ruby block semantics.
No Ractor method or functionality should be ...
Eregon (Benoit Daloze)

01/15/2025

02:49 PM Ruby master Bug #21040 (Rejected): String#next! method does not mutate $& variable
`$&` returns a new String on every usage, so this is fully expected:
```
$ ruby -e '"a" =~ /a/; p $&.object_id; p $...
Eregon (Benoit Daloze)
10:12 AM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
tenderlovemaking (Aaron Patterson) wrote in #note-15:
> Until this ticket, I was operating under the assumption it w...
Eregon (Benoit Daloze)
09:57 AM Ruby master Bug #21039 (Open): Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
```ruby
def make_counter
count = 0
nil.instance_exec do
[-> { count }, -> { count += 1 }]
end
end
...
Eregon (Benoit Daloze)

01/14/2025

07:52 PM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
I played with `Ractor.make_shareable` and it already mutates a Proc in place, breaking the basic Ruby semantics of re... Eregon (Benoit Daloze)
07:26 PM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
> `isolated { lambda { ... } }`
Maybe this could be shortened to `isolated { ... }` or so, if that method is declare...
Eregon (Benoit Daloze)
07:22 PM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
tenderlovemaking (Aaron Patterson) wrote in #note-11:
> Adding syntax makes it much harder to port existing applicati...
Eregon (Benoit Daloze)
02:26 PM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
This also breaks that analysis:
```
$ ruby -e 'p lambda { ->{}.binding.receiver }.call'
main
$ ruby --dump=insns...
Eregon (Benoit Daloze)
02:24 PM Ruby master Feature #21033: Allow lambdas that don't access `self` to be Ractor shareable
```
$ ruby -e 'p lambda { Kernel.binding.receiver }.call'
main
$ ruby --dump=insns -e 'p lambda { Ker...
Eregon (Benoit Daloze)
01:15 PM Ruby master Bug #21032: `Module#autoload?` is slow when `$LOAD_PATH` contains a relative path
byroot (Jean Boussier) wrote in #note-2:
> @fxn tracked it down to https://github.com/emailage/Emailage_Ruby/blob/64...
Eregon (Benoit Daloze)

Also available in: Atom