Folly is a library of C++14 components. It was designed with
efficiency due to a practical mindset.
Folly contains a variety of core library components
used extensively at Facebook. It complements offerings such as Boost and std.
Folly is the “acronym” for Facebook open source library.
Why to
use FOLLY.
We already have libraries like Std and Boost. So, there is
no need to have FOLLY. FOLLY was developed to complement Std and Boost. Folly was thought for cases where they require
higher performance.
Logical
Design
Folly is a collection of relatively independent components.
These components are as simple as a few symbols. Internal dependencies do not
have any restrictions.
All symbols are defined in the top-level
namespace folly. Macros is the only exception. Macro names are
ALL_UPPERCASE and should be prefixed with FOLLY_.
Namespace folly defines other internal namespaces. Symbols in those
namespaces are not depended upon by user code.
Physical
Design
Folly uses the classic "stuttering"
scheme folly/folly used by Boost and others at the top level. The
first directory serves as an installation root of the library. The second
directory is used to distinguish the
library when including files.
Name | Views | Likes |
---|---|---|
FOLLY: Benefits | 104 | 1 |
FOLLY: synchronization/Rcu.h | 224 | 1 |
FOLLY: Synchronized.h (3) | 155 | 1 |
FOLLY: Synchronized.h (2) | 179 | 1 |
FOLLY: Synchronized.h (1) | 214 | 1 |
FOLLY: dynamic.h | 284 | 1 |
FOLLY: Benchmark.h | 126 | 1 |
FOLLY: stats/Histogram.h | 165 | 1 |
FOLLY: PackedSyncPtr.h | 107 | 1 |
FOLLY: ProducerConsumerQueue.h | 179 | 1 |
FOLLY: SmallLocks.h | 93 | 1 |
FOLLY: ThreadCachedInt.h (2) | 93 | 1 |
FOLLY: ThreadCachedInt.h (1) | 98 | 1 |
FOLLY: ThreadLocal.h | 134 | 1 |
FOLLY: small_vector.h | 241 | 1 |
FOLLY: GroupVarint.h | 119 | 1 |
FOLLY: Function.h | 181 | 1 |
FOLLY: Format.h | 164 | 1 |
FOLLY: FBVector | 176 | 1 |
FOLLY: FBString | 107 | 1 |
FOLLY: Thread pools & Executors | 106 | 1 |
FOLLY: DynamicConverter | 88 | 1 |
FOLLY: AtomicHashMap | 142 | 1 |
FOLLY: Components | 114 | 1 |
FOLLY: Overview | 165 | 1 |
Comments