Replaceduntyped PHP at Facebook scale
What is Hack written in?
Its runtime is implemented in C++ (documented).
Quick Facts
- Developer
- Meta and Facebook
- First released
- 2014
- Typing
- gradual
- License
- MIT License
- Website
- hacklang.org
About Hack
Hack is a programming language. It is a garbage-collected language that is just-in-time compiled to machine code as it runs. It supports multi-paradigm, object-oriented, and functional programming. A just-in-time (JIT) compiler translates hot code paths to native machine code while the program runs, trading a slower start for faster steady-state speed.
Hack first appeared in 2014 and was developed at Meta. Hack keeps a steady, moderate following today.
How Hack is implemented
In the Language Lineage dataset, its runtime is implemented in C++.
Hack in the language family tree
Hack drew on ideas from PHP.
Sources: Wikipedia · Wikidata · Official site
Frequently Asked Questions
What language is Hack written in?
Hack is primarily implemented in C++.
What languages influenced Hack?
Hack was influenced by PHP among others. See the influence section above for the full list.
When was Hack first released?
Hack was first released in 2014.
Evidence Sources
- https://en.wikipedia.org/wiki/Hack_(programming_language)
- https://en.wikipedia.org/wiki/HHVM
- Hack on Wikidata (Q15971618)
Discover More
Spot something wrong?
Every fact on this page is meant to be checkable. If one is wrong, say so and it becomes a dataset change, not a patch to this page.