Hack: Facebook's new programming language-combining PHP and C

Source: Internet
Author: User
According to foreign media reports, Facebook released a new programming language named & ldquo; Hack & rdquo; on Thursday, claiming that the language will make code writing and testing more efficient and fast. Facebook has been using this language within the company for more than a year and will now officially release it in open source form. Hack is developed by Facebook and integrates dynamic language (such

According to foreign media reports, Facebook released a new programming language named "Hack" on Thursday, claiming that the language will make code writing and testing more efficient and fast.

Facebook has been using this language within the company for more than a year and will now officially release it in open source form.

Hack is a programming language developed by Facebook and combined with dynamic language (such as PHP) and static language (such as C. Generally, when programming in a static type language, developers will know where an error occurs before the program is run. In the current programming environment, dynamic language runs until the program fails.

 alpha();}

Facebook is a family keen on using PHP, but Bryan O 'Sullivan, head of the Hack team, also pointed out that since many developers are developing many different projects, it makes sense to be able to capture errors before running the program. This makes the developer's programming process more efficient, which is of the same significance as making the program run more efficiently.

As a result, some senior Facebook engineers came together to develop the Hack language. Facebook has been using PHP and Hack internally for a year, and now has begun planning to port code to Hack as much as possible. Hack has no substantial impact on the running speed of the code.

As for Facebook's open-source Hack practices and questions about who will actually use the language, Jack said: "Maybe many people will think that this is only important for large companies, but in fact, small teams and individual developers can also use Hack and benefit from it. We believe that most people will eventually benefit ."

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.