|
|
|
|
|
by aguinet
3061 days ago
|
|
(original author of dragonffi here) FTR, the footprint of 18Mb is the compressed version, the uncompressed version is ~57Mb. I think there are huge improvements possible here, among them: * compile llvm with -fvisiblity=hidden * compile the whole thing with thin lto, which could have the effect to remove unused code * potentially other idea :) |
|
Did you consider writing a purpose-built JIT compiler? I believe the FFI use-case is narrow enough that a tiny hand-written JIT compiler would be pretty easy... like the old QEMU template based JIT.