General

Profile

fxn (Xavier Noria)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 22 25

Activity

01/06/2026

08:37 PM Ruby Bug #21320: Namespaces leak with constant lookup
Awesome, thank you @tagomoris! fxn (Xavier Noria)
08:35 PM Ruby Bug #21318: Namespaces leak with Module.nesting
Great, thank you! fxn (Xavier Noria)
07:29 PM Ruby Feature #21800: `Dir.foreach` and `Dir.each_child` to optionally yield `File::Stat` object alongside the children name
Hi there!
@byroot knows this, but for anyone reading, Zeitwerk essentially scans the file system and sets autoloads for the expected constants.
This feature is going to be great. As in the general case described in the issue descriptio...
fxn (Xavier Noria)

12/07/2025

11:07 PM Ruby Misc #21154: Document or change Module#autoload?
BTW, I do not know if you know it, but while I started working on Zeitwerk to fix autoloading in Rails, I changed my mind in the mid of it and decided to do something more generic that supports multiple autoloaders in the same process ma... fxn (Xavier Noria)
10:29 AM Ruby Misc #21154: Document or change Module#autoload?
Thanks for the example @mame.
In my view, this is more a problem of circularity than a problem of autoload vs require. When you are loading a file, a require is executed and loads a file that needs a constant that was still not defined....
fxn (Xavier Noria)

09/29/2025

04:39 PM Ruby Misc #21385: Namespace: Suggesting a rename
Not sure about "nesting".
Last time I checked, the nesting in the program being loaded under a namespace is modified. But as I reported in https://bugs.ruby-lang.org/issues/21320, I don't think that is a good idea. If you alter the ne...
fxn (Xavier Noria)

07/14/2025

10:01 AM Ruby Bug #19154: Specify require and autoload guarantees in ractors
Awesome John! Thanks very much! fxn (Xavier Noria)

06/30/2025

12:56 PM Ruby Misc #21385: Namespace: Suggesting a rename
Sounds great @tagomoris. fxn (Xavier Noria)

06/08/2025

06:52 AM Ruby Bug #19154: Specify require and autoload guarantees in ractors
Is constant access synchronized as it is for threads?
If a constant has an autoload set and 7 threads hit it, only one of them autoloads, and the rest block until that autoload has finished. This includes the case in which the winner ...
fxn (Xavier Noria)

06/05/2025

05:19 AM Ruby Misc #21385: Namespace: Suggesting a rename
Oh, it is interesting to know there's a higher level API in the horizon. Looking forward to see what you have in mind!
With that new context, a "cell" is a low-level thing with inner/independent activity, but it is permeable and can c...
fxn (Xavier Noria)

Also available in: Atom