
Facebook has just released a new programming language named Hack, that will allow programmers to write code faster with less errors. It is an open-source language facilitating developers to write and deliver bug-free code quickly.
Hack programming language combines the elements of static-type programming languages such as C with dynamic programming languages like PHP.
From the Facebook blog post: “Hack reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages.
We have deployed Hack at Facebook and it has been a great success. Over the last year, we have migrated nearly our entire PHP codebase to Hack, thanks to both organic adoption and a number of homegrown refactoring tools.We’re also proud to release an open source version of Hack to the public at http://hacklang.org/ as part of our HHVM runtime platform, which will now support both Hack and PHP.”
“Traditionally, dynamically typed languages allow for rapid development but sacrifice the ability to catch errors early and introspect code quickly, particularly on larger codebases. Conversely, statically typed languages provide more of a safety net, but often at the cost of quick iteration. We believed there had to be a sweet spot.”
According to Facebook, PHP developers that are using HHVM need not to worry about Facebook abandoning PHP as Facebook engineer said “HHVM is now a runtime that supports both PHP and Hack, so you can start to take advantage of Hack’s new features incrementally.”
Related Posts...
TechnologiesWeb DesignWhat's Hot
Jun 26th, 2025
The year is 2025, and the landscape of software development is buzzing with innovation. Amidst this rapid evolution, one tool stands out as a true game-changer: GitHub Copilot. What started […]
Read more
Jun 24th, 2025
Artificial Intelligence (AI) is no longer a futuristic concept. From chatbots answering customer queries to language models assisting developers with code generation, AI has firmly embedded itself in our digital […]
Read more
May 29th, 2025
Choosing the right programming language can make all the difference — whether you’re building cutting-edge AI, launching a startup, or simply looking to future-proof your skills. The year 2025 has […]
Read more