🍺 BREW Explorer

← all formulae

folly

brew install folly v2026.06.15.00_1 Apache-2.0

C++20 library collection of practical, performance-oriented components developed at Facebook.

Why you might care

Folly is a foundational dependency for Facebook's open-source C++ projects (RocksDB, Proxygen, Thrift, etc.) and provides high-performance alternatives to Boost/std when scale matters. Use it when building C++ services that need efficient data structures, concurrency primitives, or utilities tested at Facebook's scale. It's primarily a build/runtime dependency rather than a CLI tool.

Categories

Alternatives

Boost abseil-cpp google-glog
16.6k
30-day installs · #266
44.8k
90-day · #295
197.5k
365-day · #284
30.4k
★ GitHub stars · updated 1d ago

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Boost",
    "abseil-cpp",
    "google-glog"
  ],
  "build_dependencies": [
    "cmake",
    "fast_float",
    "pkgconf"
  ],
  "categories": [
    "library",
    "binding"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "boost",
    "double-conversion",
    "fmt",
    "gflags",
    "glog",
    "libevent",
    "libsodium",
    "lz4",
    "openssl@3",
    "snappy",
    "xz",
    "zstd"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Collection of reusable C++ library artifacts developed at Facebook",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:45+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "folly",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-19T21:09:51Z",
  "github_readme_excerpt": "Folly: Facebook Open-source Library\n===================================\n\n# What is `folly`?\n\n\u003cimg src=\"static/logo.svg\" alt=\"Logo Folly\" width=\"15%\" align=\"right\" /\u003e\n\nFolly (an acronym loosely after Facebook Open Source Library) is a\nlibrary of C++20 components designed with practicality and efficiency\nin mind. **Folly contains a variety of core library components used extensively\nat Facebook**. In particular, it\u0027s often a dependency of Facebook\u0027s other\nopen source C++ efforts and place where those projects can share code.\n\nIt complements (as opposed to competing against) offerings\nsuch as Boost and of course `std`. In fact, we embark on defining our\nown component only when something we need is either not available, or\ndoes not meet the needed performance profile. We endeavor to remove\nthings from folly if or when `std` or Boost obsoletes them.\n\nPerformance concerns permeate much of Folly, sometimes leading to\ndesigns that are more idiosyncratic than they would otherwise be (see\ne.g. `PackedSyncPtr.h`, `SmallLocks.h`). Good performance at large\nscale is a unifying theme in all of Folly.\n\n## Check it out in the intro video\n[![Explain Like I\u2019m 5: Folly](https://img.youtube.com/vi/Wr_IfOICYSs/0.jpg)](https://www.youtube.com/watch?v=Wr_IfOICYSs)\n\n# Logical Design\n\nFolly is a collection of relatively independent components, some as\nsimple as a few symbols. There is no restriction on internal\ndependencies, meaning that a given folly module may use any other\nfolly components.\n\nAll symbols are defined in the top-level namespace `folly`, except of\ncourse macros. Macro names are ALL_UPPERCASE and should be prefixed\nwith `FOLLY_`. Namespace `folly` defines other internal namespaces\nsuch as `internal` or `detail`. User code should not depend on symbols\nin those namespaces.\n\n# Physical Design\n\nAt the top level Folly uses the classic \"stuttering\" scheme\n`folly/folly` used by Boost and others. The first directory serves as\nan installation root of the library (with possible version",
  "github_repo": "facebook/folly",
  "github_stars": 30426,
  "github_topics": [],
  "homepage": "https://github.com/facebook/folly",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 16561,
  "installs_365d": 197511,
  "installs_90d": 44831,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": "2026-06-20T23:43:47+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "folly",
  "oldnames": [],
  "one_liner": "C++20 library collection of practical, performance-oriented components developed at Facebook.",
  "optional_dependencies": [],
  "rank_30d": 266,
  "rank_365d": 284,
  "rank_90d": 295,
  "raw_hash": "db9c8b4b62d10d50",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/f/folly.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "bzip2"
  ],
  "version_head": "HEAD",
  "version_stable": "2026.06.15.00",
  "versioned_formulae": [],
  "why_use_this": "Folly is a foundational dependency for Facebook\u0027s open-source C++ projects (RocksDB, Proxygen, Thrift, etc.) and provides high-performance alternatives to Boost/std when scale matters. Use it when building C++ services that need efficient data structures, concurrency primitives, or utilities tested at Facebook\u0027s scale. It\u0027s primarily a build/runtime dependency rather than a CLI tool."
}