From: "maximecb (Maxime Chevalier-Boisvert)" <noreply@...>
Date: 2022-01-10T23:29:13+00:00
Subject: [ruby-core:107031] [Ruby master Feature#18439] Support YJIT for VC++

Issue #18439 has been updated by maximecb (Maxime Chevalier-Boisvert).


Supporting Windows is in the plans, but as my colleagues have said it's fairly tricky as it could add a fair bit of complexity in several places. We're hoping to potentially migrate the YJIT codebase to Rust, which would give us more tools to manage the complexity, and could facilitate a project like this.

----------------------------------------
Feature #18439: Support YJIT for VC++
https://bugs.ruby-lang.org/issues/18439#change-95862

* Author: usa (Usaku NAKAMURA)
* Status: Open
* Priority: Normal
* Assignee: maximecb (Maxime Chevalier-Boisvert)
----------------------------------------
I heard that supporting YJIT for VC++ needs mmap from k0kubun-san, so I implemented tiny mmap emulation on Windows and committed it to master.
And, I found we need more changes to actually enabled YJIT for VC++, at least:

- YJIT requires `OPT_DIRECT_THREADED_CODE` or `OPT_CALL_THREADED_CODE` in `rb_yjit_compile_iseq()`.  Really?
- Maybe ABI deffers between VC++ and YJIT's expectation.

Can I get support to fix above?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>