awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
facebook avatar

facebook/folly

0
View on GitHub↗
30,412 stars·5,863 forks·C++·Apache-2.0·15 views

Folly

Folly is a collection of high-performance C++ components designed as an extension to the C++ Standard Library for large-scale production environments. It provides specialized toolkits for memory management, concurrency, asynchronous workflows, and low-latency input and output operations.

The project distinguishes itself through the provision of lock-free containers and bounded queues to minimize contention in multi-threaded applications, alongside a framework for managing deferred computations using futures and promises. It further offers specialized memory arenas and optimized implementations of strings and vectors to reduce allocation overhead and fragmentation.

The library covers a broad surface of system-level engineering, including high-throughput network IO, IP address and URI management, and the execution of system subprocesses. It also includes utilities for system statistics collection via counters and histograms, JSON serialization, and high-speed type conversion.

The project enables compiling source code into shared or static binary libraries tailored for specific target architectures.

Features

  • Performance Optimization Libraries - Provides a collection of high-performance C++ components designed for low-latency production environments.
  • Asynchronous Future APIs - Ships a robust framework for managing deferred computations through a promise and future asynchronous pattern.
  • High-Performance Networking - Ships optimized abstractions for executing low-latency and high-throughput network input and output operations.
  • Arena-Based Memory Management - Implements specialized memory arenas that allocate contiguous blocks to minimize fragmentation and allocation overhead.
  • C++ Memory Suites - Provides specialized memory arenas and optimized string and vector implementations to reduce allocation overhead.
  • Arena Allocators - Implements arena allocators that use pre-allocated pools to reduce fragmentation and allocation overhead.
  • Lock-Free Atomic Containers - Offers a variety of lock-free atomic containers designed to outperform general-purpose thread-safe data structures.
  • Optimized Storage Containers - Replaces standard strings and vectors with specialized versions that optimize memory and performance.
  • Systems Engineering Toolkits - Provides robust system-level tools including memory arenas and subprocess management for C++ environments.
  • Concurrency Primitives - Provides fundamental lock-free atomic structures and synchronization primitives for multi-threaded execution.
  • Asynchronous Programming - Implements a high-performance framework for managing deferred computations using promises and futures.
  • Standard Library Extensions - Acts as a high-performance extension to the C++ Standard Library for large-scale production environments.
  • Lock-Free Concurrent Queues - Provides a suite of lock-free atomic containers to enable high-performance thread-safe data management.
  • JSON Serialization - Includes high-performance utilities for converting internal data structures to and from JSON format.
  • Performance Benchmarking - Provides tools to execute code segments at scale to generate timing reports and performance metrics for optimization.
  • Subprocess Management - Spawns and manages system subprocesses to execute external commands and handle their input and output streams.
  • Single-Producer Single-Consumer Queues - Implements high-performance SPSC bounded queues for low-latency message passing between threads.
  • IO Abstractions - Offers high-throughput input and output abstractions and system subprocess management for performance-critical services.
  • Concurrent Queues - Provides high-performance bounded concurrent queues and chained pipelines to coordinate data flow between producers and consumers.
  • Application Performance Monitoring - Tracks system statistics using counters and histograms to identify performance bottlenecks and monitor application health.
  • System Statistics Collection - Tracks time series counters, gauges, and histograms to calculate mean and variance in a single pass.
  • C++ Frameworks and Libraries - Open-source C++ library suite for high-performance systems.
  • Core Frameworks - Library of optimized C++ components used at scale.
  • Engineering Components - Core C++ library components.
  • Frameworks - Collection of C++ library components from Facebook.
  • Frameworks and Libraries - Library of optimized components used by Facebook.
  • General C++ Frameworks - Open-source C++ library collection from Facebook.
  • Standard Libraries - High-performance library of core components used in large-scale systems.
  • Utility Libraries - Collection of C++ library components from Facebook.

Star history

Star history chart for facebook/follyStar history chart for facebook/folly

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Folly

Similar open-source projects, ranked by how many features they share with Folly.
  • sumeetchhetri/ffead-cppsumeetchhetri avatar

    sumeetchhetri/ffead-cpp

    741View on GitHub↗

    Framework for Enterprise Application Development in c++, HTTP1/HTTP2/HTTP3 compliant, Supports multiple server backends

    C++
    View on GitHub↗741
  • sourcey/libsourceysourcey avatar

    sourcey/libsourcey

    1,362View on GitHub↗

    Real-time media stack and lightweight libwebrtc alternative, built in C++20

    C++
    View on GitHub↗1,362
  • bloomberg/bdebloomberg avatar

    bloomberg/bde

    1,820View on GitHub↗

    Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.

    C++allocatorscppcpp-library
    View on GitHub↗1,820
  • abseil/abseil-cppabseil avatar

    abseil/abseil-cpp

    17,334View on GitHub↗

    Abseil is a common utility library for C++ that provides foundational building blocks for applications. It serves as a collection of optimized utility functions and data structures that augment the C++ standard library across different compiler versions. The library is distinguished by its high-performance containers, including SIMD-accelerated hash maps and sets for efficient key-value lookups. It also provides a comprehensive framework for computing absolute time points, durations, and timestamps across global time zones. The project covers a broad range of capability areas, including conc

    C++
    View on GitHub↗17,334
See all 30 alternatives to Folly→

Frequently asked questions

What does facebook/folly do?

Folly is a collection of high-performance C++ components designed as an extension to the C++ Standard Library for large-scale production environments. It provides specialized toolkits for memory management, concurrency, asynchronous workflows, and low-latency input and output operations.

What are the main features of facebook/folly?

The main features of facebook/folly are: Performance Optimization Libraries, Asynchronous Future APIs, High-Performance Networking, Arena-Based Memory Management, C++ Memory Suites, Arena Allocators, Lock-Free Atomic Containers, Optimized Storage Containers.

What are some open-source alternatives to facebook/folly?

Open-source alternatives to facebook/folly include: bloomberg/bde — Basic Development Environment - a set of foundational C++ libraries used at Bloomberg. sourcey/libsourcey — Real-time media stack and lightweight libwebrtc alternative, built in C++20. sumeetchhetri/ffead-cpp — Framework for Enterprise Application Development in c++, HTTP1/HTTP2/HTTP3 compliant, Supports multiple server backends. abseil/abseil-cpp — Abseil is a common utility library for C++ that provides foundational building blocks for applications. It serves as a… sogou/workflow — Workflow is an asynchronous C++ task engine designed for building distributed systems and high-performance network… facebook/libphenom — An eventing framework for building high performance and high scalability systems in C.