Facebook released its new programming language called Hack

Meanwhile, Facebook released its own open source programming language called Hack, see official code for Hack, a dream came true for programmers. It will let the programmers write the code in a fast and efficient manner with less or simply no errors.

Three Facebook engineers Bryan O’Sullivan, Julien Verlaguet, and Alok Menghrajani had been developing this programming language called Hack for a last few years, finally they have done!

Hack combines with both dynamic and static programming languages, it means that programmers will have the ability to write their code in a amazing, fast and efficient manner with elements of dynamic languages (PHP, Ruby, Perl, ActionScript etc.) and will also have the ability to detect errors and mistakes before the runtime which is the feature of a static programming language. Here’s a plus point! Dynamic programming languages like PHP, Ruby, Python etc. don’t have the features of static programming languages, but Hack is combined of both. In fact, if you are already a PHP programmer, then it will be easy for you to understand Hack as well. Hack also comes with added features not available in PHP.

To run Hack, we need HHVM (Hip Hop Virtual Machine). HHVM is a compiler that compiles PHP scripts. Said by Bryan O’Sullivan, the following:

Hack is basically an extension of the PHP language with built-in static typing, a feature found in more traditional programming languages such as C/C++ and Java.

Syntactically, Hack is very close to PHP. We allowed it to be possible to run PHP and Hack code side-by-side so you can gradually convert your language codebase from PHP to Hack.

Hack offers the programmers to write their code faster with ease. Hack is open source. Hack is secure language. Hack is enjoyable programming language. Hack has many additonal functions and features. Hack made it easy to convert any PHP script to Hack. So let’s Hack, Mark loves hackers!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.