|
|
Subscribe / Log in / New account

SELF: Anatomy of an (alleged) failure

SELF: Anatomy of an (alleged) failure

Posted Jun 24, 2010 16:13 UTC (Thu) by Spudd86 (subscriber, #51683)
In reply to: SELF: Anatomy of an (alleged) failure by cesarb
Parent article: SELF: Anatomy of an (alleged) failure

If you go look at some of the older LLVM papers they pretty much describe doing this... (I don't know if anyone implemented it, but given that they DO have a JIT compiler for LLVM IR already I think you could probably already do this in a limited form see http://llvm.org/cmds/lli.html the current llvm command that will run a LLVM IR bytecode object file with the LLVM JIT)

The papers talk about profiling and optimizing the IR and writing that back to the binary, so you get a binary optimized for your workload.

This still has the issues of library incompatibilities across architectures (even within the same distro) since the library may not have all the same options compiled in, or many export a slightly different set of symbols or all kinds of other things...


to post comments

SELF: Anatomy of an (alleged) failure

Posted Jun 27, 2010 16:03 UTC (Sun) by nix (subscriber, #2304) [Link]

IIRC this is currently being done by ClamAV (using LLVM, natch).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds