Engineering Blog

Blog posts tagged 'Languages'

AL: A new declarative language for detecting bugs with Infer

Posted about a month ago
blog post · Mobile · Testing · Development Tools · C · C++ · Open Source · Languages

AL is a simple, declarative language for reasoning about abstract syntax trees, and it's easy, quick, and interactive. Read more...

Ryan MackEngineering

HHVM support for PHP 7

Posted about 2 years ago
blog post · Infra · Open Source · HipHop · PHP · Languages

The next version of the PHP language, version 7.0.0, was recently released. We’re excited to see this release come out the door and for what it means for the future of PHP. Read more...

Lee ByronMobile hacker at Facebook

GraphQL: A data query language

Posted about 2 years ago
blog post · Mobile · Data · @Scale · Open Source · Languages · News Feed · IDE · Design Tools · Development Tools

GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012. Read more...

React Native for Android: How we built the first cross-platform React Native app

Posted about 2 years ago
blog post · Mobile · Languages · Open Source · @Scale · Platform · Development Tools

We were able to ship Facebook's first fully React Native app on two platforms, with native look and feel, built by the same team. Read more...

Flow, a new static type checker for JavaScript

Posted about 3 years ago

Introducing Flow, a new open-source static type checker for JavaScript. Flow adds static typing to JavaScript to improve developer productivity and code quality. Read more...

Announcing the Hack Transpiler

Posted about 3 years ago
blog post · Infra · Hack · Languages · PHP · Open Source

Today, we're proud to announce a first, experimental release of h2tp, or the “HH (Hack) Transpiler,” a tool which allows projects that have converted from PHP to Hack to still make releases that target the PHP language. Read more...

Open-sourcing Haxl, a library for Haskell

Posted about 3 years ago
blog post · Infra · Data · Web · Backend · Open Source · Caching · Languages · Security · Data Science · Analyticsmore

Today we're open-sourcing Haxl, a Haskell library that simplifies access to remote data, such as databases or web-based services. Read more...

Joel PobarEngineering at Facebook

Hack Developer Day Recap

Posted about 3 years ago

A few weeks ago, Facebook introduced and open-sourced Hack, a gradually-typed programming language for HHVM that interoperates seamlessly with PHP. Yesterday we hosted our first Hack Developer Day to bring together members of the developer community for a deeper dive into Hack and HHVM. Read more...

Andrei AlexandrescuResearch Scientist at Facebook

Under the Hood: warp, a fast C and C++ preprocessor

Posted about 3 years ago
blog post · Infra · Open Source · Languages

Today we are open-sourcing warp, a fast preprocessor for the C and C++ languages, written by Walter Bright in a joint project with Facebook. Read more...

Hack: a new programming language for HHVM

Posted about 3 years ago
blog post · Infra · Culture · Backend · Open Source · Hack · Development Tools · HipHop · Languages · Platform · Menlo Parkmore

Today we're releasing Hack, a programming language we developed for HHVM that interoperates seamlessly with PHP. Hack reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages. Read more...

James PearceEngineering at Facebook

2013: A Year of Open Source at Facebook

Posted about 4 years ago
blog post · Data · Mobile · Web · Infra · Open Source · Languages

Open source has always been a huge part of the Facebook engineering philosophy. 2013 has been a great year for our open source program, with a significant number of new projects that we're really proud of, a renewed commitment to run and maintain them actively, and a desire to work with the vibrant communities that have built up around them. Read more...

Carlos BuenoFixer at Facebook

The Mature Optimization Handbook

Posted about 4 years ago
blog post · Data · Culture · Testing · Performance · Optimization · Languages

I spent a good chunk of the past year working on an internal training class and a short book about performance measurement and optimization. You can download it here. Below is an excerpt. Read more...

Ben HamiltonEngineering

Speaking a whole new language: DConf 2013 at Facebook

Posted about 4 years ago
blog post · Culture · Infra · Languages

Earlier this month, Facebook had the honor of hosting more than 60 engineers, thinkers, dreamers, and architects for three days at DConf 2013, the D Programming Language Conference. I've been to a good number of programming conferences, but DConf really opened my eyes to what happens when early adopters put their minds together to create a shared vision of the future. Read more...

Andrei AlexandrescuResearch Scientist at Facebook

Three Optimization Tips for C++

Posted about 4 years ago
blog post · Infra · Languages · C++

This is an approximate transcript of my talk at Facebook NYC on December 4, 2012, which discusses optimization tips for C++ programs. The video of the talk is here and the accompanying slides are here. Read more...

Keith AdamsEngineer at Facebook

Meet a Facebook Engineer: Keith Adams

Posted about 5 years ago
blog post · Culture · Web · PHP · HipHop · Backend · Languages

At Facebook, our engineers collaborate to create an open environment where ideas win and are executed quickly. Each week, our engineers will give you a look into what it's like to ideate and build at Facebook in our new "Meet a Facebook Engineer" Q&A series. Check back weekly to hear from different engineers about what problems they're passionate about solving right now, what they're up to at Facebook and what advice they have for you. Read more...

Haiping ZhaoSenior Server Engineer at Facebook

Meet a Facebook Engineer: Haiping Zhao

Posted about 6 years ago
blog post · Culture · Data · HipHop · Testing · Languages

At Facebook, our engineers collaborate to create an open environment where ideas win and are executed quickly. Each week, our engineers will give you a look into what it's like to ideate and build at Facebook in our new "Meet a Facebook Engineer" Q&A series. Check back weekly to hear from different engineers about what problems they're passionate about solving right now, what they're up to at Facebook and what advice they have for you. Read more...

Jason EvansEngineering

The HipHop Virtual Machine

Posted about 6 years ago
blog post · Infra · Open Source · HipHop · PHP · Performance · Languages

Read more...

Minghui YangSoftware Engineer at Facebook

Making HPHPi Faster

Posted about 6 years ago
blog post · Infra · Web · PHP · HipHop · Open Source · Performance · Development Tools · Languages · C++ · Optimization · Caching · Testingmore

Read more...

Xin QiResearch Scientist at Facebook

HipHop for PHP: More Optimizations for Efficient Servers

Posted about 6 years ago

Facebook switched all its production servers to HipHop in early 2010, also releasing the project’s source code at that time. At the time of the switch, HipHop reduced our average CPU usage by 50%, the six months after its release saw an additional 1.8x performance improvement, and in the past six months the team in conjunction with the open source community has made an additional 1.7x improvement. Read more...

Scott MacVicarEngineering

HipHop for PHP: six months later

Posted about 7 years ago

It's been six months since we released HipHop and I wanted to share an update on its progress. In February we released 693,613 lines of source code which on average reduced our CPU usage here at Facebook by about 50%. Since February, the team has made HipHop another 1.8 times faster and all of that code is open source. We’ve also seen improvements to PHP itself with the additions to PHP's trunk in April being about 10% faster than 5.3. Read more...

Marcel LaverdetSoftware Engineer at Facebook

XHP: A New Way to Write PHP

Posted about 7 years ago
blog post · Infra · PHP · Languages

Today, I'd like to take to this opportunity to share with you a project that's quickly becoming a cornerstone of front-end PHP development at Facebook. XHP is a PHP extension which augments the syntax of the language to both make your front-end code easier to understand and help you avoid cross-site scripting attacks. XHP does this by making PHP understand XML document fragments, similar to what E4X does for ECMAScript (JavaScript). While PHP is typically used to write front-end code, by itself it isn't a very good language for generating HTML (as evidenced by the popularity of templating engines like Smarty). XHP is something between a programmatic UI library and a full templating system. PHP has some tricks up its sleeve like the ability to switch between HTML and PHP syntax, but this often encourages poor security practices and hard to follow control flows. Consider this simple PHP application:. Read more...

Tao SteinEngineering

Facebook becomes a USENIX Patron

Posted about 7 years ago
blog post · Infra · Data · Web · Mobile · Compute · Open Source · Research · Graph · Languages · PHP · HipHop · Platformmore

From its beginnings, Facebook has had to solve novel systems challenges to help us scale and grow. The idea of the social graph, and its implementation as a web and mobile platform have repeatedly pushed our computer systems into uncharted territory. The workloads are non-traditional, graph-oriented and write-heavy, and the system has grown rapidly to a base of 350M users around the world. We have survived and thrived due to healthy innovation and creativity, but we haven't done it alone. We have benefited from innovation in both the open source and computer systems communities. The USENIX Association is an essential hub in the systems community and today we are pleased to announce that we are becoming a Patron of the USENIX Association. Read more...

Haiping ZhaoSenior Server Engineer at Facebook

Names in translation and social language modeling

Posted about 8 years ago
blog post · Infra · Web · Culture · Languages · Framework · User Experience

Our Translations app allows users (translators) to click on a phrase as they browse the site, and see the original native string, vote on translations suggested by their peers or contribute their own. Here at Facebook, we offer an innovative approach to web site internationalization that leverages a unique infrastructure and a dedicated user community to keep our interface up-to-date in translation. Read more...

Ashish ThusooEngineering at Facebook

Hive - A Petabyte Scale Data Warehouse using Hadoop

Posted about 8 years ago

A number of engineers from Facebook are speaking at the Yahoo! Hadoop Summit today about the ways we are using Hadoop and Hive for analytics. Hive is an open source, peta-byte scale date warehousing framework based on Hadoop that was developed by the Data Infrastructure Team at Facebook. In this blogpost we'll talk more about Hive, how it has been used at Facebook and its unique architecture and capabilities. Read more...

Aditya AgarwalDirector of Engineering at Facebook

Adapting Open Source Software

Posted about 8 years ago
blog post · Web · Compute · Open Source · Languages · News Feed

Facebook is a fan of open source software. We are heavy users of packages like PHP, MySQL, Memcache and also believe in contributing technology like Thrift and Scribe back to the community. It's interesting not just to hear that companies are using open source software (everyone is!) but rather about how they adapt the software to better suit their needs. Read more...

Want to work with us?

Join the team, we're hiring! Here are some of our current open positions:

    Keep Updated

    Stay up-to-date via RSS with the latest open source project releases from Facebook, news from our Engineering teams, and upcoming events.

    Subscribe
    Facebook © 2017