Hacker News new | ask | show | jobs
by gnulinux 1734 days ago
How can you do ISA-agnostic JIT unless you implement a separate backend for each ISA? I.e. is it possible to write a JIT in a generic way such that it'll work for a class of ISAs?
1 comments

You can write a JIT that generates C code and calls the system's C compiler: https://duckduckgo.com/?q=ruby+"MJIT"
Oh well I never thought of it, nor read of it. Need to go back to books. Thanks for sharing!