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…
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
Reels are about to show up in yet another Facebook feature
A smartphone with the Facebook app icon on it all on a white marble background.

As its answer to TikTok, Reels is clearly a particularly important priority for Meta. Which is why a number of its platforms' recent feature updates often involve Reels. And today's announcement was not exempt from Meta's push to make Reels just as competitive as TikTok.

On Thursday, Meta announced that it would be bringing Reels to Facebook Groups, mentioning it as one of three new ways for users to "to connect over shared interests." Facebook group members and admins will be able to add "audio, text overlay and filters on top of their videos before sharing to bring their stories to life."

Read more