Skip to main content

Facebook releases Programming Language - HACK

Social media giant Facebook has just released ‘HACK’. Thinking “Wow, Great!”? But don’t get carried away, it has nothing to do with hacking and cracking. 



Facebook releases HACK a new open-source programming language, developed for the HipHop Virtual Machine (HHVM), Facebook’s PHP runtime environment, released in 2012. This new language, released on March 20, 2014, assimilates with the evergreen PHP language and is believed to allow their engineers and other programmers to increase their speed in writing codes as well as evade usual errors in programming.

When started ten years ago, Facebook was initially coded in PHP by Mark Zuckerberg and his team. However, as the company grew, with the existing programming platform with PHP, it became difficult to manage and maintain the system free of bugs. As a result, the programming language HACK has been developed and Facebook releases HACK now so as to combine elements of static programming languages such as C and C++, which allow  for error detections before runtime with the with the features of dynamic languages like PHP and Ruby, allowing for rapid development.

 HACK is already driving most of the Facebook’s website. Facebook releases HACK stating, “Hack has deep roots in PHP. In fact, most PHP files are already valid Hack files.” It adds, “We have also added many new features that we believe will help make developers more productive.” The news of the release and future plans and expectations with HACK were made available through Facebook’s engineering blog.

Basically an upgrade to PHP, HACK requires Facebook’s HHVM. HHVM has grown as a popular virtual machine environment over the past years on which, top twenty open source frameworks on Github run. The major difference between HACK and PHP is that HACK allows a combination of static and dynamic typing called gradual typing which isn’t allowed for in PHP. Until now, there never has been a language that truly allowed gradual typing, which adds a great potential for the new language to grow as an industry standard programming language in coming years. With this gradual typing, static code and dynamic code can be mixed together.

Facebook releases HACK with plans to promote it as a leading programming language for the web in coming years. In fact, it has already released the open source beta code, available at hacklang.org. Tutorials to learn the programming language can also be obtained in the same website at hacklang.org/tutorial. According to Facebook, the public release is not merely to encourage programmers to use the language for development, but also to quickly identify errors within the language.

Comments

Popular posts from this blog

Facebook Advertising now mobile with Ads Manager App

After crossing two million active advertisers on its platform, Facebook has now released its ads manager app to make advertising much easier.  The company made the announcement of the app on its business page shortly after the app was available to download on the Apple app store today. Features of Facebook Ads Manager App Facebook claims to provide marketers with more power to manage ads on the go with its mobile app. Among several features of the app, advertisers can create and edit ads, view ads performance, get notifications about their ads, and keep track of their spending on the platform. Here is the list of features highlighted by Facebook for its app. Track ad performance Edit existing ads Edit ad budgets and schedules Receive push notifications Create ads   How to Download Facebook Ads Manager App? Facebook ads manager app is only available in the US until now and will be soon available worldwide, according to the company. Facebook also mentioned that it is working o...

How to get 25 GB of free Dropbox space?

If you are a Vodafone customer, here’s how you can get 25 GB of free Dropbox space! Vodafone, in order to make it Backup+ service attractive will offer 25 GB free Dropbox space to its customers for their first year of the service. The carrier and Dropbox announced their partnership today appealing mobile customers for safe and secure data storage. The exclusive service, available only for Vodafone customers, is expected to begin by the end of March 2015 in most of the Vodafone markets. Announcing their partnership, Vodafone notes that the Backup+ service will give their customers an easy and secure way to keep their mobile data safe with a Dropbox account. Dropbox also emphasizes their easy storage service by adding the proposition that it will simplify the process of switching phones for Vodafone users. The service, however, is only free for a year. Wouldn’t it be awesome if it were free as long as you had the contract for? How to claim your 25 GB free Dropbox Space? A comp...

How Social Networks Are Making Us Lonely?

We’ve got hundreds of friends and followers on social networks like Facebook and Twitter ? We can share our thoughts to so many people at the click of a button. It looks like we’ve got a plenty of folks who care about us. But do they truly care about us? There have been several research findings which suggest that the social networks are making us lonely, in reality. But none of them have beautifully executed the thought as done by the following animated clip titled “The Innovation of Loneliness”. This video, with the use of excellent visual graphics and motion design, illustrates how the social networks are affecting us negatively , i.e. they’re making us lonely. The video was created by motion designer Shimi Cohen as his final project at the Shenkar College of Engineering and Design and draws inspiration from Sherry Turkle ’s book Alone Together. The major points from the video are: The maximum number for a group of monkeys to function well and maintain the social order is 50. For ...