Advantages of Hack and HHVM

  • « More features in Hack and Php
  • « Runs faster than Php
  • « Higher general perform and less resource usage
  • « Compatible with a lot of CMS and Frameworks (Magento, CodeIgniter, CakePhp, Laravel etc)
  • « Compiles to a more efficient native code
  • « Only recompies when changes are made to a file.

Disadvantages of Hack and HHVM

  • « Compile time might be high
  • « Learning a new syntax might take a while
  • « Incompatibility issue with PHP and HHVM
  • « Facebook could not support for Hack and HHVM which could slow down its growth
  • « Does not allow direct HTML in its code.