HHVM

HHVM
Developer(s)Meta Platforms
Initial releaseDecember 9, 2011; 12 years ago (2011-12-09)[1]
Stable release
3.15.0[2] Edit this on Wikidata / 28 September 2016; 8 years ago (28 September 2016)
Repository
Written inPHP, C++,[3] OCaml[4][a] and Rust[5]
LicensePHP License and Zend License[6]
Websitehhvm.com Edit this at Wikidata

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. 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]

HHVM is developed by Meta, with the project's source code hosted on GitHub;[10] it is licensed under the terms of the PHP License and Zend License.[1][6]

  1. ^ a b Jason Evans (December 9, 2011). "The HipHop Virtual Machine". Meta Platforms. Retrieved August 2, 2014.
  2. ^ "Release 3.15.0". September 28, 2016. Retrieved March 13, 2018.
  3. ^ "Building and installing HHVM on CentOS 7.x". github.com. Meta Platforms. May 26, 2015. Retrieved June 12, 2015.
  4. ^ "Building the Hack typechecker". github.com. Meta. September 10, 2014. Retrieved June 12, 2015.
  5. ^ "Facebook's HHVM Begins Seeing Rust Rewrite - Phoronix". Retrieved August 29, 2019.
  6. ^ a b "facebook/hhvm: License". github.com. Facebook, Inc. Retrieved August 2, 2014.
  7. ^ Ottoni, Guilherme (June 20, 2018). "HHVM JIT: A Profile-Guided, Region-Based Compiler for PHP and Hack". Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI). ACM. pp. 151–165.
  8. ^ "facebook/hhvm". github.com. Meta Platforms. Retrieved August 2, 2014.
  9. ^ Kaushik Pal (April 28, 2014). "PHP and Zend Engine Internals". phpbuilder.com. Archived from the original on September 15, 2014. Retrieved September 23, 2014.
  10. ^ HHVM source code on GitHub


Cite error: There are <ref group=lower-alpha> tags or {{efn}} templates on this page, but the references will not show without a {{reflist|group=lower-alpha}} template or {{notelist}} template (see the help page).