hhvm README

The project's README from github.com/facebook/hhvm. As one markdown file: README.md.

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:

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.

hhvm (facebook/hhvm)

Searching Database…

18.7K ·GitHub
这是什么?一个开源虚拟机,用于运行用 Hack 编写的程序,通过即时编译(JIT)获得高性能,同时保持开发的灵活性。
这是我要写的语言,还是运行它的东西?它是运行时这一侧:你写 Hack,HHVM 用 JIT 编译器来执行它。这个仓库还包含采用 MIT 许可证的 Hack 类型检查器和 Hack 标准库。
不用从源码构建也能安装吗?可以——直接安装预编译的软件包即可;从源码编译是另一种方式。新手可以参考项目的入门指南。
我怎么用它来托管网站?搭配一个网页服务器使用:可以用内置的 Proxygen(速度快、部署简单),也可以在 nginx 或 Apache 后面通过 FastCGI 来配置。安装软件包之后,用 'sudo /etc/init.d/hhvm start' 启动。
所有东西都用同一个许可证吗?不是——HHVM 本身使用 PHP 和 Zend 许可证,而 Hack 类型检查器和 Hack 标准库都采用 MIT 许可证。
Proxygen 是什么?HHVM 内置的网页服务器。README 称它速度快、部署简单——比起用 FastCGI 把 HHVM 放到 nginx 或 Apache 后面,它是更省事的选择。
这个项目还在维护吗?看起来还在:GitHub 仓库创建于 2010 年,没有被归档,大约有 18.7k 颗星。
What are similar projects?v8, mono, coreclr, ir, wasmtime, webserver, DeepGEMM-Ascend, uWebSockets
Creator
facebook
Size
871.9 MB
Stars
18.7K
Age
16y
Commits · 90 Days