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

Excuse my ignorance of LLVM but couldn't someone build a PHP LLVM JIT compiler and stand of the shoulders of that project?

I am sure I am trivializing the effort that it takes to make JIT for PHP.



LLVM isn't the worlds greatest target for a dynamic language, as Rubinius and Unladen Swallow found out. It does a lot of low level optimization, but a basic prerequisite to that is being able to do some sort of optimistic type-based optimizations, and LLVM has no infrastructure for that.

It looks like HipHopVM uses tracing which is probably a better way to go.


Are they at any risk for VM patent issues?




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

Search: