Skip to main content

Facebook goes Open Source (kind of)

There are all manner of jokes still to be made about Facebook’s IPO woes and the foolishness involved in issuing so many shares that the market was flooded (or in the IPO’s underwriters allegedly withholding information regarding the company’s future profits from all but its central customers), but that didn’t stop Facebook talking about an entirely different Folly this weekend as it launched its own Open Source Library of C++ development code.

In a launch (and mission) statement on the official Folly: The Facebook Open Source Library page on the social network, the company’s Jordan DeLong explained the thinking behind making its code available to everyone:

Facebook is built on open source from top to bottom, and could not exist without it. As engineers here, we use, contribute to, and release a lot of open source software, including pieces of our core infrastructure such as HipHop and Thrift. But in our C++ services code, one clear bottleneck to releasing more work has been that any open sourced project needed to break dependencies on unreleased internal library code… Our primary aim with this ‘foolishness’ is to create a solution that allows us to continue open sourcing parts of our stack without resorting to reinventing some of our internal wheels. And because Folly’s components typically perform significantly faster than counterparts available elsewhere, are easy to use, and complement existing libraries, we think C++ developers might find parts of this library interesting in their own right.

The code – described as “fast and reasonably easy to work with,” making “heavy use of C++” by DeLong – is already available as open source under Apache Software License from a public GitHub repository.

Some of the code may already be familiar to programmers inspecting it. “Practicality pervades Facebook engineering, and we have a low tolerance for “Not Invented Here” syndrome (after all, the company is built on open source software),” DeLong explained, adding that “Folly complements some existing high quality C++ libraries, such as Boost or the Standard Library, both of which we use heavily.”

Commenting that Folly is “definitely in the spirit of ‘release early, release often,'” DeLong wrote that the company “will continue to update the open source tree as new Folly components are added, so you can expect to see more of this on github in the future.”

Editors' Recommendations

Graeme McMillan
Former Digital Trends Contributor
A transplant from the west coast of Scotland to the west coast of America, Graeme is a freelance writer with a taste for pop…
How to get your share of Facebook’s $750M settlement
A silhouetted person holds a smartphone displaying the Facebook logo. They are standing in front of a sign showing the Meta logo.

Meta (formerly Facebook) might owe people who used the social media site between 2007 and 2022 some money due to privacy infringement, according to Mashable.

The social media giant has reached a settlement in a class-action lawsuit where it admits no fault in the claims against the company, but has agreed to pay out $725 million in damages. The money is available to all who submit a claim by the appropriate deadline of August 25, 2023. If you are (or were) a Facebook user, here's how to know if you're eligible and get your share of the settlement.
How to know if you're eligible
There are various stipulations you should take into consideration, including that the $725 million award will be truncated after Meta pays its legal and administrative fees. There are also eligibility, filing, and opt-out dates you want to note.

Read more
Twitter braces itself after source code leaked online
A stylized composite of the Twitter logo.

Parts of Twitter’s source code have been leaked online, according to a legal filing with the U.S. District Court of the Northern District of California.

First reported by the New York Times, the contents of Twitter’s source code -- the all-important software that powers the platform and makes it work -- showed up on GitHub, an internet hosting service for software development.

Read more
Trump allowed to return to Facebook and Instagram
Trump stylized image

Meta is ending its suspension of Donald Trump on Facebook and Instagram, allowing the former president to start posting again as he eyes a return to the White House via the 2024 election.

Trump was suspended indefinitely from the social media sites shortly after the riots at the Capitol in January 2021.

Read more