Benoit Daloze

Results 152 issues of Benoit Daloze

* For timeout I basically rewrote the implementation in https://github.com/ruby/timeout/pull/15 and acted as a maintainer since then by reviewing PRs and replying to issues. * I always had an interest...

Documentation

* This lets the interpreter run once and specialize the bytecode. From https://github.com/ruby/ruby/pull/15055#discussion_r2535146494 I wonder if it should be `--repeat 3` to account for one interpreter run, one profile (`--zjit-num-profiles`)...

See individual commits for details. FYI there is also https://github.com/postmodern/ruby-versions/commit/e80b1c146a4379a1d5a5c0d9247dc5b7aa8426c3

Initial run with building on 22.04, 6/10 distros fail because they have a older glibc: https://github.com/truffleruby/truffleruby/actions/runs/19945647966/job/57194301056 (fail: ol8, ol9, ubuntu1804, ubuntu2004, debian10, debian11 pass: fedora37, fedora38, ubuntu2204, debian12) Passing run...

That way we can drop the patch in mkmf and generate simplers makefiles for extensions. Hopefully the latest gems don't need the patches anymore. _Originally posted by @eregon in https://github.com/truffleruby/truffleruby/pull/4028#discussion_r2600113174_

cexts
cleanup

Used notably in Puma: https://github.com/puma/puma/pull/3825#issuecomment-3544383345 https://github.com/puma/puma/pull/3825#discussion_r2536918506 cc @byroot I guess that function returns a BINARY string so that's maybe why we hadn't seen much usages of it yet.

cexts

Upstream oracle/graal stopped testing and releasing on darwin-amd64 in https://github.com/oracle/graal/commit/5d9fd3e00b1ab6d41824cf03be61e1f69b8be795. The actual support code stills looks to be there from that commit, but it seems it won't be tested anymore....

macos

From https://github.com/truffleruby/truffleruby/issues/3039 Introduce Fiber#storage and Fiber#storage= (experimental) for getting and resetting the current storage. Introduce `Fiber.new(storage:)` for setting the storage when creating a fiber. [[Feature #19078]] Existing Thread and Fiber...

compatibility

See https://github.com/rubygems/rubygems/pull/8966#issuecomment-3284884056 and https://github.com/rubygems/rubygems/blob/21533ea1e375957c9ebb34418d7d6b0f94f70535/lib/rubygems/package.rb#L723-L727 RubyGems has to do a wrokaround on TruffleRuby to avoid using `IO.copy_stream` as that causes the CI to fail: https://github.com/rubygems/rubygems/actions/runs/17672869037/job/50228244389 ``` /home/runner/.rubies/truffleruby-24.1.2/lib/gems/gems/mini_portile2-2.8.9/lib/mini_portile2/mini_portile.rb:499:in `verify_file': Downloaded file '/home/runner/.rubies/truffleruby-24.1.2/lib/gems/gems/nokogiri-1.18.9/ports/archives/libxml2-2.13.8.tar.xz'...

bug