General

Profile

akr (Akira Tanaka)

  • Login: akr
  • Email: akr@fsij.org
  • Registered on: 12/11/2008
  • Last sign in: 03/20/2026

Issues

open closed Total
Assigned issues 15 232 247
Reported issues 5 104 109

Projects

Project Roles Registered on
Ruby Committer 12/11/2008

Activity

03/20/2026

02:03 PM Ruby Feature #21852: New improved allocator function interface
The separation of allocation and initialization is essential to marshal cyclically referenced objects.
We can use Marshal to dump and load cyclically referenced objects:
```
x = []
y = [x]
x << y
z = Marshal.load(Marshal.dump(x...
akr (Akira Tanaka)

12/12/2025

12:29 AM Ruby Feature #21766: Pathname + FileUtils making sweet music together
I feel Unix command names are too short for usual programs.
So, I'm negative.
akr (Akira Tanaka)

12/11/2025

05:47 AM Ruby Feature #21704: Expose rb_process_status_new to C extensions
rb_process_status_new is declared in the PR as follows.
```
/**
* Creates a new instance of Process::Status.
*
* @param[in] pid The process ID.
* @param[in] status The "waitpid status", as returned by waitpid(2). This is NOT ...
akr (Akira Tanaka)

09/01/2025

06:13 AM Ruby Feature #20163: Introduce #bit_count method on Integer
I prefer an exception for popcount to negative values.
I think an array of Fixnums (63 bit signed integers) can be used for mutable bit array.
(Ruby's Integer is immutable. So mutable bit array needs a mutable data structure.)
In...
akr (Akira Tanaka)

08/29/2025

12:56 AM Ruby Feature #20163: Introduce #bit_count method on Integer
What is the behavior for negative values?
The proposal describes two implenentations that returns different values.
```
p (-5).to_s(2).count("1") #=> 2
def bit_count(n)
count = 0
while n > 0
n &= n - 1 # Flip the lea...
akr (Akira Tanaka)

08/21/2025

12:58 PM Ruby Feature #21532: Define most of Pathname in Ruby code
Ok. Merge it. akr (Akira Tanaka)

06/05/2025

10:13 AM Ruby Bug #21391: Inconsistent trailing slash behavior of File.join and Pathname#join with empty strings
I don't recommend trailing slash on a pathname because it is not portable between operating systems.
The behavior of Pathname (it doesn't add a trailing slash) reflects this my opinion.
https://pubs.opengroup.org/onlinepubs/9699919...
akr (Akira Tanaka)

04/24/2025

05:06 PM Ruby Feature #20610 (Closed): Float::INFINITY as IO.select timeout argument
committed.
https://github.com/ruby/ruby/commit/698ef864a59004f468c77534d59e51e862ec2624
akr (Akira Tanaka)

04/21/2025

04:49 PM Ruby Revision fa17cb75 (git): [doc] update Enumerable document.
- Enhance document about #size method for Enumerable and Enumerator
- add an Enumerator example for Enumerable#drop_while
akr (Akira Tanaka)

04/18/2025

12:10 PM Ruby Revision ad69f4dd (git): [doc] update {Enumerator,Enumerable}#size document.
at Code Party RubyKaigi 2025. akr (Akira Tanaka)

Also available in: Atom