Benoit Daloze
Benoit Daloze
These days it's clear `rvm get master` is the only way, and `rvm get stable` is of no use since no recent releases. There are [many Ruby versions being added](https://github.com/rvm/rvm/blob/master/CHANGELOG.md),...
The answer is `rvm get master` as already said in https://github.com/rvm/rvm/issues/5486#issuecomment-2434833404. I think we should just close this issue and I'll go ahead and do that to make it extra...
Mmh, this is a tough one. I think subclassing `Struct` or `Data` directly is generally problematic and should be avoided. Part of the idea of `Struct` and `Data` is to...
I think a good solution here is to make `Abstract` a module instead of a Data subclass, and `include` it in the `Data.define` classes you need it: ```ruby module Abstract...
> E.g. mixins like Enumerable or Comparable handle the megamorphism problem just fine, right? Comparable basically has the same problem, even on CRuby, calls to `` inside Comparable methods will...
Regarding your idea, `def initialize(**kwargs) = __Data_defined_initialize__(**kwargs)` that would be a megamorphic call to `__Data_defined_initialize__` (unless `initialize` is split per call site but that's a big overhead we should avoid...
rb_bug/rb_warn/rb_warning are all implemented on TruffleRuby (as `static inline` functions) so this should be straightforward. What is used currently for CRuby? I'd imagine it's the same functions so ideally it'd...
Thanks for the report, this most likely happens because it finds top-level `::Struct`. Similarly, `p Bang::Struct` should be NameError, but currently isn't.
@hsbt Could you review this as well? :pray: --- cc @byroot I mentioned this to you at RubyKaigi. Might also be interesting to @maximecb ([this](https://github.com/Shopify/yjit-bench/blob/main/benchmarks/ruby-json/benchmark.rb) is a pure-Ruby JSON parser,...
Rebased and CI should be green