Facebook introduced the programming language 'Hack' to help write software faster

Facebook recently introduced a new programming language that speeds up writing and testing software. Called Hack, Facebook's internal language has been used for over a year now and it now makes it an open standard for everyone to use.

Facebook recently introduced a new programming language that speeds up writing and testing software. Called Hack, Facebook's internal language has been used for over a year now and it now makes it an open standard for everyone to use.

Picture 1 of Facebook introduced the programming language 'Hack' to help write software faster

Known Hack is a combination of static programming language elements like C with dynamic languages ​​like PHP. With static language, the editor will help you to know many errors in the source code before running, so it is safer and more secure, and in dynamic languages, you have to run the software and then you know what error you wear. although it allows us to write code faster.

So Hack was born as a compromise between both factors. It will tell you when your source code is mistakenly written through an internal server ( like the first image ), we don't need to put the code on the server running like PHP and then detect the error. In the process of writing, tag You often use a tag instead . And if you have created PHP files, the running environment called " HHVM " can still compile both PHP and Hack languages, so you won't worry about compatibility issues.

Bryan O'Sullivan , Head of Hack, said that Facebook itself is written based on PHP, but when many of the company's developers work on multiple projects, finding errors before running gradually becomes necessary. than. Hack will help shorten the time, save the cost of writing software, regardless of whether it is a large or small project. However, O'Sullivan emphasized that Hack will not affect the running speed of the source code ( and the speed of running the software in general ), it only helps with the development process only.

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile