Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The exciting thing would be to see applications compiled to LLVM IR get JIT'ed. Finally C or C++ apps that could inline through function pointer or virtual function calls at runtime.


You might find this interesting, a database query engine using LLVM IR to speed up performance.

http://blog.cloudera.com/blog/2013/02/inside-cloudera-impala...


It's an interesting idea but the current LLVM JIT is pretty slow so it hurts my head to think about JIT'ing average size C++ programs. Leaving that aside, the cost of doing this for every codepath would probably outweigh the benefits except in very specific use cases (especially on a cpu with decent indirect prediction). This would be an ideal place for a tracing JIT, which LLVM does not have at the moment.


Throwing away sharing of code pages (and the security benefits associated with PIC) for a bit of inlining doesn't seem like the best idea.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: