HHVM
HipHop Virtual Machine (HHVM) is an open-source virtual machine based on just-in-time (JIT) compilation that serves as an execution engine for the Hack programming language and used to support PHP execution before the release of HHVM version 4.[6] By using the principle of JIT compilation, Hack code is first transformed into intermediate HipHop bytecode (HHBC), which is then dynamically translated into x86-64 machine code, optimized, and natively executed.[7][8] This contrasts with PHP's usual interpreted execution, in which the Zend Engine transforms PHP source code into opcodes that serve as a form of bytecode, and executes the opcodes directly on the Zend Engine's virtual CPU.[9]
| Developer(s) | Facebook, Inc. |
|---|---|
| Initial release | December 9, 2011[1] |
| Written in | PHP, C++,[2] OCaml[3][a] and Rust[4] |
| License | PHP License and Zend License[5] |
HHVM is developed by Facebook, with the project's source code hosted on GitHub;[10] it is licensed under the terms of the PHP License and Zend License.[1][5]
Notes
References
- ↑ 1.0 1.1 Jason Evans. The HipHop Virtual Machine (December 9, 2011)Facebook. Retrieved August 2, 2014.
- ↑ Building and installing HHVM on CentOS 7.x. github.com (May 26, 2015)Facebook. Retrieved June 12, 2015.
- ↑ Building the Hack typechecker. github.com (September 10, 2014)Facebook. Retrieved June 12, 2015.
- ↑ Facebook's HHVM Begins Seeing Rust Rewrite - Phoronix. Retrieved 29 August 2019.
- ↑ 5.0 5.1 facebook/hhvm: License. github.comFacebook, Inc.. Retrieved August 2, 2014.
- ↑ HHVM 4.0.0.
- ↑ Ottoni, Guilherme (June 20, 2018). "HHVM JIT: A Profile-Guided, Region-Based Compiler for PHP and Hack". : 151–165ACM.
- ↑ facebook/hhvm. github.comFacebook. Retrieved August 2, 2014.
- ↑ Kaushik Pal. PHP and Zend Engine Internals. phpbuilder.com (April 28, 2014). Retrieved September 23, 2014.
- ↑ HHVM source code on GitHub