2 ms·
v8 includes a JIT for every platform it runs on. The code itself needs to run on the target platform (memory model, threads, etc) and the output of the JIT need
by sitkack 6y ago
v8 includes a JIT for every platform it runs on. The code itself needs to run on the target platform (memory model, threads, etc) and the output of the JIT needs to target the execution platform. Given how portable V8 already is, probably not a whole lot work needed to get it to compile and run on RISC-V, but the codegen would need to be written.
https://github.com/v8-riscv/v8/tree/riscv64/src/codegen https://github.com/v8-riscv/v8/tree/riscv64/src/codegen