2 ms·
Rustc does, but it doesn't appear to me that holyjit does, that is https://github.com/nbp/holyjit/blob/master/lib/src/compile.rs https://github.com/nbp/holyjit/
by steveklabnik 9y ago
Rustc does, but it doesn't appear to me that holyjit does, that is https://github.com/nbp/holyjit/blob/master/lib/src/compile.rs https://github.com/nbp/holyjit/blob/master/lib/src/compile.r... and https://github.com/nbp/holyjit/blob/master/lib/src/lib.rs#L16-L19 https://github.com/nbp/holyjit/blob/master/lib/src/lib.rs#L1...
Basically, it seems (and I haven't fully digested the code yet) that it uses https://crates.io/crates/dynasmrt https://crates.io/crates/dynasmrt for codegen.
- tbodt 9y agoLooks like dynasmrt was written for use in holyjit.
- steveklabnik 9y agoQuite possibly! It's the first I'm hearing of it. It's very interesting...