This website requires JavaScript to run properly.
Hack Lang

Hack Lang

A modern programming language for HHVM with seamless PHP interoperability

About Hack Lang

Hack is a statically typed language built for HHVM, designed to enhance PHP development with type safety, async programming, and robust tooling while maintaining full compatibility with existing PHP code.

Key features

Static Typing

Hack introduces static typing to PHP, helping catch type errors early and improving code reliability and maintainability.

Async Programming Support

Built-in async support enables efficient, non-blocking applications with cooperative multitasking and optimized I/O operations.

PHP Compatibility

Hack is designed to work alongside PHP, allowing gradual adoption without requiring a full codebase rewrite.

Type Annotations

Explicit type annotations for variables, functions, and parameters make code more readable and self-documenting.

Collections API

A powerful collections framework with type-safe data structures like Vector, Map, and Set for efficient data handling.

IDE Support

Strong integration with development tools including autocompletion, real-time type checking, and error detection.

FAQ

Alternatives to consider

Community ratings & full list

Resources

Categories

Claim this tool

Are you the founder? Claim your profile to update details and track views.

Claim tool