Last updated on October 5th, 2019 at 11:25 pm
Facebook introduces hack: a new programming language:
Facebook introduces Hack,a new PHP based programming language. Facebook developed Hack language for HHVM. That inter operates seamlessly with PHP. It has called Hack but it’s not dealing with hacking. Hack is developed for programmers to build complex website. And other software quickly and without any flaws.Hack runs on Hip Hop Virtual Machine (HHVM). And also provide coding in both dynamic typing. And static typing. Hack has deep root in PHP. And Hack is used by Mark Zukerberg when he started building Facebook.
The main advantage of Hack is 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. Also Hack language is very fast Hack provides instantaneous type checking via local server that watches the file system. It typically runs in less than 200 millisecond. So its very easy to integrate into your development workflow without a noticeable delay. Also hack can run without compiling. O’Sulivan said,You can get both safety and speed. Also you can edit a file and you reload a web page. And you immediately get the feedback.While Hack’s lambda expression provide to create closures. With few a fewer number of keystrokes,which is big win for productivity.
Hack is for HHVM and is an open-source virtual machine designed for executing programs written in PHP and Hack. And HHVM uses a just-in-time compilation approach to get superior performance.