General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 07/20/2026

Issues

open closed Total
Assigned issues 4 27 31
Reported issues 1 49 50

Projects

Project Roles Registered on
Ruby Committer 03/19/2021

Activity

Today

08:06 PM Ruby Revision 41794563 (git): ZJIT: Simplify way to disable coercion for `PtrPrintMap`
alanwu (Alan Wu)
08:06 PM Ruby Revision f2ff7246 (git): ZJIT: Run doc tests on CI
So code in documentation are tested. alanwu (Alan Wu)

07/27/2026

09:22 PM Ruby Revision 28d74f4a (git): ZJIT: A64: No padding for LIR Jump as we do not re-patch
Unlike in YJIT, we don't re-patch particular jump instructions, so there
is no need to pad.
alanwu (Alan Wu)
09:22 PM Ruby Revision 2529d20b (git): ZJIT: A64: Delete emit_jmp_ptr_with_invalidation()
It's only for page switching, which is not a thing in ZJIT. alanwu (Alan Wu)

07/23/2026

07:47 PM Ruby Revision 169e0f13 (git): ZJIT: Remove unnecessary `&dyn` usage in gc_fastpath.rs
This forces the caller to write `&` before each closure for no benefits.
It's also weird because another parameter uses `impl Fn...` so you end
up with a noisy asymmetry at the call site.
Use `impl Fn`.
alanwu (Alan Wu)

07/20/2026

05:34 PM Ruby Feature #22182: Poor man's escape analysis
> can we expect that allocation elision in hot loops will be achieved in the same way as this proposal does?
Yes, more or less. The code transforms to something like if you had put a `struct RArray` as a local variable and worked with...
alanwu (Alan Wu)

07/16/2026

11:10 PM Ruby Feature #22182: Poor man's escape analysis
> The bigger headache for me was flagged objects escaping...
Yeah, that is a tricky part of this that'd be nice to not carry. I'm glad we seem to agree that `ObjectSpace.each_object` isn't high priority to keep stable: when ZJIT remov...
alanwu (Alan Wu)

07/15/2026

10:26 PM Ruby Feature #22182: Poor man's escape analysis
From my perspective as a JIT dev: this will probably be profitable for a good while, though it does incur some maintenance burden for everyone. The JIT looks to the interpreter and the stock implementation of core methods for guidance on... alanwu (Alan Wu)

07/10/2026

10:31 PM Ruby Revision 3beab866 (git): ZJIT: Port tests to the rust harness and rename to test_zjit_cli.rb
New and returning contributors have been tripped up by adding tests to
test_zjit.rb instead of to zjit/src/codegen_tests.rs, where new tests
of the sort should go 99.9% of the time. Let's port and rename to make
this clear.
There are st...
alanwu (Alan Wu)
10:31 PM Ruby Revision c0a2282b (git): ZJIT: Edit testing sections in zjit.md
Running just one file under test/ is not running all tests. alanwu (Alan Wu)

Also available in: Atom