Hack is a programming language designed for the HHVM runtime. HHVM compiles PHP and Hack code into an intermediate bytecode which is then JIT compiled to machine code, providing better performance than traditional PHP execution. Some key features of Hack include gradual typing, generics, and async functions. Hack brings together popular features from PHP, C#, and Java. Facebook uses HHVM and Hack to realize a 9x increase in request throughput and 5x reduction in memory usage compared to traditional PHP.