HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
meta
hhvm
C++2010–2025
meta / hhvm

hhvm

A virtual machine for executing programs written in Hack.

65Distinct people
75Mentions
0Explicit recommenders
18.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A virtual machine for executing programs written in Hack.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 11:34:28 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year75 dated mentions

Observed mentions: 2010-02-03 00:23:26 UTC to 2025-01-02 20:28:29 UTC.

0510152010-01-01 00:00:00 UTC to 2011-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments20102011-01-01 00:00:00 UTC to 2012-01-01 00:00:00 UTC (exclusive): 9 mentions; 1 submissions, 8 comments2012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 10 mentions; 0 submissions, 10 comments2013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 15 mentions; 1 submissions, 14 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 15 mentions; 0 submissions, 15 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20102010-01-01 00:00:00 UTC2011-01-01 00:00:00 UTC523
20112011-01-01 00:00:00 UTC2012-01-01 00:00:00 UTC918
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC10010
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC15114
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC15015
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC404
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC101
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC110
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC303
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC413
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC211
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
HHVM HHVM page | HHVM documentation | Hacklang page | General group | Dev group | Twitter HHVM is an open-source virtual machine designed for executing programs written in Hack. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining amazing development flexibility. HHVM should be used together with a webserver like the built in, easy to deploy Proxygen, or a FastCGI-based webserver on top of nginx or Apache. Installing If you're new, try our getting started guide. You can install a prebuilt package or compile from source. Running You can run standalone programs just by passing them to hhvm: hhvm example.hack. If you want to host a website: Install your favorite webserver. Proxygen is built into HHVM, fast and easy to deploy. Install our package Start your webserver Run sudo /etc/init.d/hhvm start Visit your site at http://.../main.hack Our getting started guide provides a slightly more detailed introduction as well as links to more information. Contributing We'd love to have your help in making HHVM better. If you're interested, please read our guide to contributing. License HHVM is licensed under the PHP and Zend licenses except as otherwise noted. The Hack typechecker is licensed under the MIT License except as otherwise noted. The Hack Standard Library is licensed under the MIT License except as otherwise noted. Reporting Crashes See Reporting Crashes for helpful tips on how to report crashes in an actionable manner. Security For information on reporting security vulnerabilities in HHVM, see SECURITY.md. FAQ Our user FAQ has answers to many common questions about HHVM, from general questions to questions geared towards those that want to use. There is also a FAQ for contributors to HHVM.
Read the full README on GitHub

What Hacker News says

4 sources
> The second option is to do an oldschool fork() and communicate with message-passing. Or have a master that manages workers and communicates with ZMQ, HTTP, TCP, IPC, etc. Or use a library that does it all for you like parmap, Async Parallel, etc etc. I work on the Hack language typechecker at Facebook. The typechecker is written in OCaml, and since it needs to operate on the scale of Facebook's codebase (tens of millions of lines of code), it's a pretty performance-sensitive program. We needed real parallelism, but doing it with fork() and IPC was too costly for us, both in terms of storage (if you aren't careful you end up duplicating a bunch of data) and CPU (serializing/deserializing OCaml data structures to send over IPC is CPU-intensive). We ended up doing something somewhat more interesting. Before we fork(), we mmap a MAP_ANON|MA
Read the rest
P_SHARED region of memory -- that region will be backed by the same physical frames in each child after we fork, so writes to it in one child process will be visible in the others. We use a little bit of C code to safely manage the shared-memory concurrency here. The code for this all open source (along with the rest of the typechecker, HHVM runtime, etc) if you want to take a look: https://github.com/facebook/hhvm/blob/master/hphp/hack/src/h... I also gave a tech talk a while ago on internals of the type system and typechecker; the latter part starts here: https://www.youtube.com/watch?v=aN22-V-b8RM&feature=youtu.be...
In OCaml 4.03 will, “if all goes well”, support multicore
Here is a first pass over the Wordpress repository: https://gist.github.com/caipre/feb7f9fe46dc2fa90a79 Unfortunately, analyzing symphony caused an HHVM segfault. =( I'm not sure it's the same issue, but this happened to me before: https://github.com/facebook/hhvm/issues/4363 This was a good exercise: I was happy to see that hussar adapts pretty easily to outside projects. Basically, I ended up doing this: $ git clone git@github.com:Wordpress/Wordpress.git $ cd Wordpress $ ~/hussar/bin/make-report There were one or two hiccups that required some manual changes to the scripts; I'll get fixes for these up soon.
In PHP Static Analysis with HHVM and Hussar

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.