Facebook's HHVM Begins Seeing Rust Rewrite
Written by Michael Larabel in Free Software on 28 August 2019 at 06:30 AM EDT. 13 Comments
FREE SOFTWARE --
Facebook's HHVM implementation that started off as a high performance PHP5 implementation but is now just focused on powering their own Hack programming language is beginning to see some of its code rewritten in Rust.

HHVM 4.20 was released on Tuesday and with this release they have been transitioning some of their code from OCaml to Rust.

The initial code rewritten in Rust is the HHVM/Hack parser and can be optionally enabled via their INI configuration file.

This Rust'ed parser should be at parity to their existing parser albeit now with greater memory safety and other benefits of Rust. The INI tunable for enabling the Rust-written parser on HHVM 4.20 and later is hack.lang.hack_compiler_use_rust_parser=1.

More details on the new HHVM 4.20 release at HHVM.com.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week