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

SMEs account for majority of the 2 Million Active Facebook Advertisers

Earlier this week, the social media giant Facebook announced that it has crossed over two million active advertisers on its platform. Interestingly, further insights in the results reveal that small and medium enterprises (SMEs) form majority of those 2 million active advertisers on Facebook. As reported by the Reuters , more than 30 million small business owners have Facebook pages and the two million active advertisers (those that have placed an ad on the social media platform in the last 30 days) consists mainly of small- and medium-sized business owners. It’s not surprising that Facebook is of great value and an important marketing tool for small businesses. With significant decrease in Facebook’s organic reach in past year it can also be implied that businesses are bound to advertise to reach their audience. And with massive presence of small businesses on the platform, it can be expected that Facebook advertising among the small businesses will continue to grow. Moreover, Facebo...

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...

Linkedin Email Address Revealer - Sell Hack taken down

Recently, Sell Hack, a browser plugin for the Google Chrome browser made quite a noise in the social networking arena. The email addresses of LinkedIn users was easily exposed via this web browser add-on tool. Made available as free extension for the Chrome browser, all one had to do was to download the plugin and install it on his/her machine and click “Hack In” button, popping up on LinkedIn profiles. And, with the click of a button, one could view the email address associated with the account, even if the account’s not a connected one. The plugin, thus exposed email addresses of all the LinkedIn users, leading to the issues of emails being flooded with spams. LikedIn intended to take legal action over the plug-in and also advised the users to uninstall the plugin. The Sell Hack team however was trying to maintain integrity all the while. They defended themselves saying the tool was created for marketing professionals and argued that all the data pulled for making email addresses wer...