hhvm
hhvm copied to clipboard
A virtual machine for executing programs written in Hack.
I built hhvm on arm64 machine running Ubuntu 18.04.6 LTS. There were many minor issues that I resolved to compile hhvm on arm64 target. I was finally able to build...
This commit uses `tbb/tbb.h` and `oneapi/tbb/version.h` to detect TBB version, because `tbb/tbb_stddef.h` and `tbb/task_scheduler_init.h` does not exist on Ubuntu 22.04, according to https://packages.ubuntu.com/jammy/amd64/libtbb-dev/filelist
Failed to Hugify the .text Section - HardwareCounter perf_event_open failed with Permission Denied
I'm trying to learn Hack [following this tutorial](https://docs.hhvm.com/hack/getting-started/starting-a-real-project) so I set up an Ubuntu 20.04 VirtualBox machine (guest) on my Windows 10 (host) laptop as a dev server. I successfully...
**Describe the bug** Hhvm 4.153 and below interpret `hhvm --hphp -t hhbc --module .` to mean "compile everything in my cwd and all recursive sub directories". Hhvm 4.154 does not...
This is a subset of #9005, it should be easier to review/test/clear Note: while the top level item is `system`, if a commit overlaps other directories, I'm lazily including the...
This is a subset of #9005, it should be easier to review/test/clear Note: while the top level item is `zend`, if a commit overlaps other directories, I'm lazily including the...
**Describe the bug** Errors in code after a return statement are not identified. **Standalone code, or other way to reproduce the problem** ```Hack function unreachable_1(): int { return 5; return...
It's sad that there is no parser grammar anymore but using the once existing https://github.com/facebook/hhvm/blob/16370ab43249b70c31126d18a700c51b49e7a38f/hphp/hack/doc/pharser/phparser.mly and with a custom parser to extract an EBNF grammar accepted by https://www.bottlecaps.de/rr/ui we can...
After doing some work on this, I kinda think we should ban it on traits too. If we only ban final private methods on classes, hh will still accept this...