Hack Facebook

Facebook has open-sourced Hack Codegen – its library for automatically generating Hachồng code, allowing outside developers lớn automate some of their routine work while developing large programs.

Bạn đang xem: Hack facebook

HACK is the Facebook"s own programming language designed to build complex website sites và other software quickly and without many flaws.
HACK programming language is developed for HipHop Virtual Machine (HHVM) – an open-source virtual machine designed to execute programs written in Haông xã và PHP. The top 20 open source frameworks on Github run on HHVM.Also Read: Top 10 Popular Programming Languages used on GitHub

While making the announcement of open-sourcing Haông chồng Coderen, which automatically generates hachồng code, Facebook"s software engineer Alejandro Marcu said in a blog post:
"Being able to lớn generate code through automated code generation allows lớn increase the màn chơi of abstraction by making frameworks that are declarative & that are translated into lớn high-unique Hachồng code.""We"ve sầu been using Haông chồng Codegene at Facebook for a while. After seeing so much internal success, we open-sourced this library so that more people could take advantage of it."
Before Hachồng Codegene, Facebook engineers used concatenating strings to generate code that perkhung simple yet frequently executed tasks, like fetching birthday of a user.
However, the social media giant later discovered that the technique was not good enough to lớn scale up and realized that it need a good library to lớn generate code. This results in the birth of Hachồng Codegen.

Xem thêm: Làm Thế Nào Để Flush Dns Cache Dns Trên Windows Và Google Chrome

Haông chồng Codegene simplifies code generation by helping developers create a schema, which holds code for multiple times usage, và a way to generate all the related functionality required lớn support that code.
The library only needs a developer lớn provide the required details about the particular implementation, although rest of the task is done by the software, such as generation of classes, variables, methods, functions, interfaces, files, and other standard blocks of code.
Hack_builder to giảm giá with the concatenationNew linesIndentationBracesHaông chồng keywordsCollectionsSigned files to re-generate code automatically when a schema is changed
Found this article interesting? Follow TThành Phố Hà Nội on Facebook, Twitter  and LinkedIn khổng lồ read more exclusive sầu content we post.
Share on FacebookShare on TwitterShare on LinkedinShare on RedditShare on tin tặc NewsShare on EmailShare on WhatsApp




Read a senior application security engineer"s story of working on the front lines lớn maintain their enviable, first-class security program.
10 courses + 1,236 lessons on lachạy thử techniques, forensics, malware analysis, network security & programming.

Xem thêm: Công Cụ Tìm Ảnh Google - Công Cụ Tìm Kiếm Hình Ảnh

Sign up for cybersecurity newsletter và get latest news updates delivered straight to your inbox daily.