Saturday, March 29, 2014

Facebook's new Programming Language "Hack"

Yes, Its True. Facebook unleashed its new programming language named Hack but it has little to do with hacking. It is a new programming language that lets programmers build complex websites and other software quickly without much coding or without many bugs. Experts say Hack is a new version of PHP – the language Facebook founder Mark Zuckerberg used when he started building Facebook.






Adding safety nets, adding language features, ease of code conversion from PHP, and the ability to run side-by-side with PHP to allow a gradual progression to total code conversion are some of the variant features of Hack.

Liberty Voice also reported, ‘The big difference from Hack to PHP is that it allows gradual typing. Until now, hasn’t been a language that allowed gradual typing, which makes the new language also gain industrial strength.’ This feature enables a coder to work on both code snippets and improve either one or both at the same time. Reports also stated, ‘While using Hack, an engineer can add code, refresh the page and immediately see the changes without any delays like there would be if they were solely working with a language such as PHP.

Hack provides all these advantages without slowing down the developer. Unlike other statically type languages, Hack can run without compiling the code which makes it unique, fast and powerful.

Facebook said it has already migrated nearly all of its entire PHP code base to Hack and, as it did with HHVM, released an open source version at http://hacklang.org/ as part of its HHVM.

0 comments: