Could an approach like this (with caching the compiled binaries) potentially be a solution to the emacs dumping problem?
libjit does offer the ability to compile the code to a static vector that can be written to disk but that would then put machine specific code in the output .elc files making them unportable.
Also, at this state with the JIT it's not possible yet to fully compile all of the emacs bytecode; there are still some lurking bugs that need to be squashed that I'll (or someone else) hopefully have time to look into in the future to get this to 100%.