General

Profile

tenderlovemaking (Aaron Patterson)

Issues

open closed Total
Assigned issues 31 248 279
Reported issues 32 130 162

Projects

Project Roles Registered on
Ruby Committer 11/13/2009

Activity

12/17/2025

10:26 PM Ruby Feature #21785: Add signed and unsigned LEB128 support to pack / unpack
mame (Yusuke Endoh) wrote in #note-4:
> It's a shame `unpack` doesn't tell you how many bytes it read. You'd probably want a `unpack` variant that returns the final offset too, or a specifier that returns the current offset (like `o`?)....
tenderlovemaking (Aaron Patterson)
03:08 AM Ruby Feature #21785: Add signed and unsigned LEB128 support to pack / unpack
matz (Yukihiro Matsumoto) wrote in #note-2:
> I am positive about the addition of LEB128. But I don't really like K/k because it doesn't remind me of LEB128 at all (though I know we've used L, E, B already).
> ...
Thanks for the feedba...
tenderlovemaking (Aaron Patterson)

12/16/2025

09:46 PM Ruby Feature #21785: Add signed and unsigned LEB128 support to pack / unpack
Sorry, I probably should have put an example in the original post. Here is a sample of the usage:
```
irb(main):003> [0xFFF].pack("K")
=> "\xFF\x1F"
irb(main):004> [0xFFF].pack("K").unpack1("K")
=> 4095
irb(main):005> [-123].pac...
tenderlovemaking (Aaron Patterson)
07:59 PM Ruby Feature #21785 (Open): Add signed and unsigned LEB128 support to pack / unpack
Hi,
I'd like to add signed and unsigned LEB128 support to the pack and unpack methods. LEB128 is a variable length encoding scheme for integers. You can read the wikipedia entry about it here: https://en.wikipedia.org/wiki/LEB128
...
tenderlovemaking (Aaron Patterson)
05:44 PM Ruby Revision a8ba2b29 (git): add 21254 to the feature list
tenderlovemaking (Aaron Patterson)

12/08/2025

11:30 PM Ruby Revision bc40e758 (git): Interpolated strings must not be frozen
Strings concatenated with backslash may end up being frozen when they
shouldn't be. This commit fixes the issue. It required a change
upstream in Prism, but also a change to the Prism compiler in CRuby.
https://github.com/ruby/prism...
tenderlovemaking (Aaron Patterson)

12/03/2025

09:37 PM Ruby Revision 2b23b05b (git): ZJIT: Add a specialized instruction iterator to the assembler
This commit adds a specialized instruction iterator to the assembler
with a custom "peek" method. The reason is that we want to add basic
blocks to LIR. When we split instructions, we need to add any new
instructions to the correct bas...
tenderlovemaking (Aaron Patterson)
09:37 PM Ruby Revision d7e55f84 (git): ZJIT: Use the custom iterator
This commit uses the custom instruction iterator in arm64 / x86_64
instruction splitting. Once we introduce basic blocks to LIR, the
custom iterator will ensure that instructions are added to the correct
place.
tenderlovemaking (Aaron Patterson)

11/21/2025

04:03 AM Ruby Revision 917e77be (git): [ruby/rubygems] Deprecate comparing Gem::Version objects with strings
Comparing version objects is a huge bottleneck in dependency solvers
(like inside Bundler). I would like to make comparing version objects
cheaper. Right now we support comparing version objects with strings by
trying to coerce the str...
tenderlovemaking (Aaron Patterson)
04:03 AM Ruby Revision 8b116ee8 (git): [ruby/rubygems] create a gem version instead of comparing with a string
https://github.com/ruby/rubygems/commit/c1e3d4d63b tenderlovemaking (Aaron Patterson)

Also available in: Atom