Actions
Feature #21116
closedExtract RJIT as a third-party gem
Feature #21116:
Extract RJIT as a third-party gem
Status:
Closed
Assignee:
-
Target version:
-
Description
Proposal¶
- Extract the implementation of
RJIT::Cto ruby/rjit and publish it as a thirt-party gemrjit - Allow
jit_exec()to callbody->jit_entryeven when--yjitis not given - Remove RJIT from the Ruby core
- Remove
--rjitflags andRubyVM::RJIT
- Remove
Background¶
- RJIT depends on
fiddle, andfiddlehas 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.
Actions