Facebook released the open-source programming language Hack. Are you familiar with this ~~~ Reference NetEase Technology News & nbsp; March 21 news, according to foreign media reports, Facebook released a new programming language named "Hack" on Thursday, it also claims 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 was developed by Facebook. at the same time, Facebook released the open-source programming language Hack. do you have any experts to explain it ~~~
Reference
NetEase Technology News March 21 news, according to foreign media reports, Facebook released a new programming language named "Hack" on Thursday, and claims 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 type language (such as C language) and static type language (such as PHP language. 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.
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 ." (Lu Xin)
Http://tech.163.com/14/0321/02/9NQVEC07000915BF.html
------ Solution --------------------
Give your hands up first!
Php is becoming more and more academic, and it is necessary to have a new force to stir up.
Since we haven't seen the actual things, we can only look at it from a simple introduction. Hack follows the php syntax description (from this point: not a new language)
Hack integrates the compilation and interpretation modes, but I do not know whether the compiler is improved on the basis of zend or it is self-created.
If it is the former, it will be meaningless. This work method is already in the php development plan (which was originally intended to be launched in php5.5)