General

Profile

ko1 (Koichi Sasada)

  • Login: ko1
  • Registered on: 05/28/2008
  • Last sign in: 08/29/2025

Issues

open closed Total
Assigned issues 79 635 714
Reported issues 14 202 216

Projects

Project Roles Registered on
Ruby Committer 05/28/2008

Like

Activity

08/28/2025

08:20 AM Ruby Feature #21550: Ractor.shareable_proc/shareable_lambda to make sharable Proc object
> I think there is a misunderstanding there: Option 4 does not prohibit writing to captured variables, it never propo... ko1 (Koichi Sasada)
04:18 AM Ruby Feature #21550: Ractor.shareable_proc/shareable_lambda to make sharable Proc object
I confirmed with Matz that
* option 2 is too complex and therefore rejected.
* option 3 is also rejected because `|;n...
ko1 (Koichi Sasada)
02:08 AM Ruby Feature #21550: Ractor.shareable_proc/shareable_lambda to make sharable Proc object
@Eregon let's me clarify your proposal.
* Option 4 is your proposal on https://bugs.ruby-lang.org/issues/21039#note-...
ko1 (Koichi Sasada)

08/27/2025

06:15 PM Ruby Feature #21550: Ractor.shareable_proc/shareable_lambda to make sharable Proc object
I made a patch to disallow accessing to any outer variables and I found that I can't write ostruct case:
```ruby
# o...
ko1 (Koichi Sasada)
08:46 AM Ruby Feature #21550: Ractor.shareable_proc/shareable_lambda to make sharable Proc object
Eregon (Benoit Daloze) wrote in #note-6:
> I wonder if the ability to capture outer local variables for shareable pro...
ko1 (Koichi Sasada)

08/26/2025

06:03 PM Ruby Feature #21553: Remove opt_aref_with and opt_aset_with instructions
no problem.
(I didn't introduce these instructions so I'm not sure I can say Okay...)
ko1 (Koichi Sasada)

08/21/2025

11:51 PM Ruby Feature #21550 (Open): Ractor.shareable_proc/shareable_lambda to make sharable Proc object
Let's introduce a way to make a sharable Proc.
* `Ractor.shareable_proc(self: nil, &block)` makes proc.
* `Ractor...
ko1 (Koichi Sasada)
02:01 AM Ruby Feature #21039: Ractor.make_shareable breaks block semantics (seeing updated captured variables) of existing blocks
My summary:
* To prohibit local variable assignment, we need to change the logic around local variables.
* as jha...
ko1 (Koichi Sasada)

07/17/2025

03:36 AM Ruby Revision 0482b11e (git): use ostruct 0.6.3
ko1 (Koichi Sasada)
03:13 AM Ruby Revision 84253ce3 (git): fix obsolete doc with `Ractor::Port`
ko1 (Koichi Sasada)

Also available in: Atom