Benoit Daloze
Benoit Daloze
I found https://github.com/rubygems/rubygems/pull/8733 but not sure what that means
> [@eregon](https://github.com/eregon) - in Puma, there were some weird things happening in setup-ruby with truffleruby. I looked at them, and really couldn't see what the cause would be. It is...
I can easily work around in this case.
> Good point. It might pull in new files. That's not a concern for Truffle languages resource jars because if currently they contain dot files the index will contain them...
> There's also an alternative implementation in pure Ruby on top of Thread and Queue here that could be shipped as our implementation of Ractor. Right, that's https://github.com/eregon/ractor-shim and it...
> For timeout gem, the remaining issues are too difficult for a single person, IMO. Is there anyone else at this time who wants to be a maintainer of `timeout`?...
That makes sense to me, especially the last case where one Data subclass becomes 100_000 Data subclasses after "roundtripping". I think we should also disallow loading anonymous Data for consistency...
Thanks for the report, indeed I can repro with `be rake clean compile && be rspec spec/concurrent/set_spec.rb`.
https://bugs.ruby-lang.org/issues/21375#note-8 I think this should be fixed in CRuby.
BTW using ::Set in https://github.com/ruby-concurrency/concurrent-ruby/blob/05523c01f6f2eebcb7579c2b8efc29e595010bb0/lib/concurrent-ruby/concurrent/set.rb#L24 on Ruby 4+ doesn't work, because CRuby forbids adding elements while iterating: ```ruby irb(main):001> set = Set.new => Set[] irb(main):002> Thread.new { loop { set.each...