Actions
Feature #21116
closedExtract RJIT as a third-party gem
Status:
Closed
Assignee:
-
Target version:
-
Description
Proposal¶
- Extract the implementation of
RJIT::C
to ruby/rjit and publish it as a thirt-party gemrjit
- Allow
jit_exec()
to callbody->jit_entry
even when--yjit
is not given - Remove RJIT from the Ruby core
- Remove
--rjit
flags andRubyVM::RJIT
- Remove
Background¶
- RJIT depends on
fiddle
, andfiddle
has been extracted as a bundled gem. @hsbt (Hiroshi SHIBATA) and @nobu (Nobuyoshi Nakada) are struggling to maintain the dependency from the Ruby core to a bundled gem. - Integrating RJIT into the Ruby core has forced VM maintainers to update RJIT with every VM change, significantly increasing the maintenance burden.
- I thought you couldn't implement the core of RJIT as a third-party gem when I introduced RJIT [Feature #19420]. However, now @tenderlovemaking (Aaron Patterson) and I think it's possible if we modify
jit_exec()
as explained in the proposal.
Updated by k0kubun (Takashi Kokubun) 7 days ago
- Related to Feature #19420: Simplify MJIT implementation added
Updated by nobu (Nobuyoshi Nakada) about 5 hours ago
- Status changed from Open to Closed
Applied in changeset git|4a67ef09ccd703047552b740431cfe15e32451f4.
[Feature #21116] Extract RJIT as a third-party gem
Actions
Like1
Like0Like0Like0Like0Like0Like0