Benoit Daloze
Benoit Daloze
> The current behavior of TruffleRuby does not error, but worse, sets everything but the year to a default value: Yes, TruffleRuby has [the same behavior as CRuby 3.0](https://bugs.ruby-lang.org/issues/18033#note-29) for...
TruffleRuby should implement this behavior, but I half wonder if Rails should really use such a poorly-designed method which is incompatible between Ruby versions, it seems Rails main has to...
FWIW there seems to be a bunch of bugs in Time.new(String), I tried to link them to https://bugs.ruby-lang.org/issues/18033. Notably https://bugs.ruby-lang.org/issues/20797#change-110163 which won't even be backported to 3.2 (I'm not 100%...
> 1. the second commit isn't available. This caused a failure in Puma's CI, and possibly in other repos. Right, I think this is unavoidable for head builds, things can...
For `SEGV` no (unless in a subprocess) but for timeouts I think `--retry` would retry those tests
I also noticed the docs in https://github.com/flori/json/blob/4f876a8bf7c45972800bae5bdbaf892aa2f714a5/lib/json/pure/generator.rb#L222 are wrong, could you fix that too? And the alignment in https://github.com/flori/json/blob/4f876a8bf7c45972800bae5bdbaf892aa2f714a5/lib/json/pure/generator.rb#L143 is inconsistent (I dislike this kind of alignment, too high maintenance...
Ah sorry, it's `@script_safe` misaligned, and that's unrelated indeed. OTOH I think fixing the description of `def strict?` is very related (but not necessary in this PR, fair enough).
At first sight, it seems likely related to modular exponentiation (`Integer#pow(n, m)`), the performance of that varies greatly based on the range of the 3 arguments. Related issues about that:...
Sorry for the late reply, @nirvdrum pinged me today about this. `rb_gc_adjust_memory_usage()` is defined on TruffleRuby so that one is fine. For rb_gc_writebarrier() and rb_gc_writebarrier_unprotect() they are documented in https://github.com/ruby/ruby/blob/17f6a689629ec3507a79fc156833f329dc641bed/include/ruby/internal/gc.h#L660-L675...
Also don't hesitate to ping me and/or @andrykonchin on TruffleRuby-related issues in rb-sys. We are happy rb-sys has truffleruby in CI now and want to help to keep it there.