Facebook Unveils New Programming Language: Hack
Facebook is the company behind a new programming language called Hack, which currently serves 1.2 billion people as the social network already uses the new programming language for all of its websites. Facebook plans to offer Hack as open source code and has provided details at hackland.org.
The language uses what Facebook calls HHVM, an open-source virtual machine. The machine is designed to execute programs written in Hack and PHP. The programmers claim that the language is faster, as it uses a just-in-time compilation approach. Details are offered in a post on the HHVM blog.
Engineers Bryan O’Sullivan, Julien Verlaguet and Alok Menghrajani led a team at Facebook over the past few years to develop Hack, reports Wired‘s Cade Metz.
During development, Facebook and its associated websites proved to be a perfect testing ground. “We can say with complete assurance that this has been as battle-tested as it can possibly be,” O’Sullivan told Metz. O’Sullivan has experience beyond Facebook. He previously worked at tech companies such as Sun Microsystems and Linden Lab. He is also involved in the development of the programming language Haskell.
O’Sullivan’s experience, as well as those on his team, help give the new programming language instant credibility, Metz reported. “The software world is littered with programming languages, and new ones appear all the time. But according to some who have used it or who know the past work of those who built it, Hack has a design and a pedigree that immediately set it apart.”
“If Bryan O’Sullivan built it, I would walk across hot coals to use it.” programming guru David Pollak, who only yesterday heard about the new language, told Metz.
Beta code is now live and available at Hackland.org, VentureBeat reports. Programmers say the new language streamlines PHP, and works faster.
“Company engineers said inherent challenges in the PHP code sometimes made simple tasks ‘tricky or cumbersome’ and that coding errors were sometimes not detected until the script had gone live. Hack has changed that, Facebook said. Thus, the company said, ‘Hack was born’,” wrote Richard Byrne Reilly of Venture Beat.
According to Reilly, some of the embellishments to PHP were explained by Facebook:
“Our principal addition is static typing. We have developed a system to annotate function signatures and class members with type information; our type checking algorithm (the type checker) infers the rest. Type checking is incremental, such that even in the same file, some code can be converted to Hack while the rest remains PHP. Technically speaking, Hack is a gradually typed language: dynamically typed code interoperates seamlessly with statically typed code.”
“The Hack adds additional features beyond static type checking, including collections, lambda expressions, and run time enforcement of return and additional parameter types…We are delighted to open-source both Hack and the tools that we used to convert our codebase.”
Those “tricky and cumbersome” tasks to clear up PHP code are magnified on larger websites, Stephanie Mlot of PCMag reports. “At Facebook scale — with thousands of engineers shipping new code twice a day — slowdowns like these are even more problematic,” Verlaguet wrote in a blog post.
Facebook plans to host a Hack-related event at its campus next month.
Source: http://www.redorbit.com/news/technology/1113101232/facebook-hack-programming-language-032114/
Anyone can join.
Anyone can contribute.
Anyone can become informed about their world.
"United We Stand" Click Here To Create Your Personal Citizen Journalist Account Today, Be Sure To Invite Your Friends.
Before It’s News® is a community of individuals who report on what’s going on around them, from all around the world. Anyone can join. Anyone can contribute. Anyone can become informed about their world. "United We Stand" Click Here To Create Your Personal Citizen Journalist Account Today, Be Sure To Invite Your Friends.
LION'S MANE PRODUCT
Try Our Lion’s Mane WHOLE MIND Nootropic Blend 60 Capsules
Mushrooms are having a moment. One fabulous fungus in particular, lion’s mane, may help improve memory, depression and anxiety symptoms. They are also an excellent source of nutrients that show promise as a therapy for dementia, and other neurodegenerative diseases. If you’re living with anxiety or depression, you may be curious about all the therapy options out there — including the natural ones.Our Lion’s Mane WHOLE MIND Nootropic Blend has been formulated to utilize the potency of Lion’s mane but also include the benefits of four other Highly Beneficial Mushrooms. Synergistically, they work together to Build your health through improving cognitive function and immunity regardless of your age. Our Nootropic not only improves your Cognitive Function and Activates your Immune System, but it benefits growth of Essential Gut Flora, further enhancing your Vitality.
Our Formula includes: Lion’s Mane Mushrooms which Increase Brain Power through nerve growth, lessen anxiety, reduce depression, and improve concentration. Its an excellent adaptogen, promotes sleep and improves immunity. Shiitake Mushrooms which Fight cancer cells and infectious disease, boost the immune system, promotes brain function, and serves as a source of B vitamins. Maitake Mushrooms which regulate blood sugar levels of diabetics, reduce hypertension and boosts the immune system. Reishi Mushrooms which Fight inflammation, liver disease, fatigue, tumor growth and cancer. They Improve skin disorders and soothes digestive problems, stomach ulcers and leaky gut syndrome. Chaga Mushrooms which have anti-aging effects, boost immune function, improve stamina and athletic performance, even act as a natural aphrodisiac, fighting diabetes and improving liver function. Try Our Lion’s Mane WHOLE MIND Nootropic Blend 60 Capsules Today. Be 100% Satisfied or Receive a Full Money Back Guarantee. Order Yours Today by Following This Link.

designed to steal all your personal information..