General

Profile

himura467 (Akito Shitara)

  • Login: himura467
  • Registered on: 05/05/2026
  • Last sign in: 11/10/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 8 11

Activity

11/10/2026

05:25 AM Ruby Misc #22506: Clarify read-only, lock and freeze in IO::Buffer
kou (Kouhei Sutou) wrote in #note-3:
> Open question 1:
> ...
Thanks. I wrote question 1 with `rb_io_buffer_new` in mind, where the C code that creates the buffer owns the memory and invalidates the buffer before releasing it. The same...
himura467 (Akito Shitara)
04:32 AM Ruby Misc #22417: DevMeeting-2026-11-12
* [Misc #22506] Clarify read-only, lock and freeze in IO::Buffer (himura467)
* I'd like to confirm the proposed meanings of read-only, lock and freeze in IO::Buffer, so the implementation can follow them.
himura467 (Akito Shitara)

11/09/2026

12:08 PM Ruby Misc #22506: Clarify read-only, lock and freeze in IO::Buffer
Eregon (Benoit Daloze) wrote in #note-1:
> A frozen buffer might still be moved (by the GC) though, which needs to be prevented during native calls (e.g. `write(2)`).
> ...
Thanks. As far as I understand, INTERNAL and MAPPED memory, an...
himura467 (Akito Shitara)

11/04/2026

03:37 PM Ruby Revision 9bf79dcf (git): ZJIT: Add a ByteSwap instruction
himura467 (Akito Shitara)
03:37 PM Ruby Revision 5888302d (git): ZJIT: Inline IO::Buffer#get_value for unsigned integer types
himura467 (Akito Shitara)
01:41 PM Ruby Feature #22274: Make `IO::Buffer` no longer experimental.
I've opened https://bugs.ruby-lang.org/issues/22506 to agree on what read-only, lock and freeze mean for `IO::Buffer`, following the discussion on `freeze` here. It would be great to continue that discussion there. himura467 (Akito Shitara)
01:35 PM Ruby Misc #22506 (Open): Clarify read-only, lock and freeze in IO::Buffer
Following https://bugs.ruby-lang.org/issues/22274#note-16, I'd like to agree on what each of these means for `IO::Buffer`, so that the remaining fixes follow one model. This is a proposal, and I'd appreciate corrections.
| | What it p...
himura467 (Akito Shitara)

11/03/2026

04:16 AM Ruby Bug #22497: Reading a frozen Set held by another Ractor's class crashes
Duplicate of #22419. Please close this. himura467 (Akito Shitara)

11/02/2026

07:17 PM Ruby Bug #22497 (Closed): Reading a frozen Set held by another Ractor's class crashes
```ruby
S = Set[].freeze
Ractor.new { S }.join
```
```
-e:1: [BUG] rb_objspace_reachable_objects_from_local: set is owned by another Ractor
```
Class variables and instance variables of classes crash the same way. Ruby 4.0.7 d...
himura467 (Akito Shitara)

09/21/2026

05:26 AM Ruby Feature #22274: Make `IO::Buffer` no longer experimental.
ioquatix (Samuel Williams) wrote in #note-10:
> As per my design, a buffer that is frozen does not need to update or touch `locked_count` (in fact, only a buffer with `locked_count == 0` can be frozen). Once frozen, all operations (that...
himura467 (Akito Shitara)

Also available in: Atom