~/talk

Experiences with Facebook's C++ library

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
links:none on file
slides:none on file

Facebook's open source C++ library folly focuses on practical fixes: a new conversion utility borrows fast float code from V8; dynamic handles JSON parsing/serialization; throw/catch costs measure ~53× slower than return values so exception_wrapper and an exception tracer are used instead. Thread-local tools include a thread-local access-all-threads API for aggregating per-thread counters. Read-mostly shared pointers shard refcounts to avoid contention for single-line refcounts, singletons can be quiesced before fork, LIFO condition wakes cut latency ~1%, and an indexed mempool avoids reclamation but shows 16-bit ABA tagging crashed roughly every six hours.

AI-written summary · about

  1. 0:00Introduction to Folly
  2. 1:03Purpose and history of Folly
  3. 2:29Transition to modern C++ standards
  4. 3:09Optimized containers in Folly
  5. 4:57Synchronization tools
  6. 7:42String optimizations
  7. 9:04Exception handling strategies
  8. 13:21Bit manipulation utilities
  9. 16:09Dynamic typing with Dynamic
  10. 18:34Thread-local storage techniques
  11. 26:58Singleton patterns
  12. 33:18Synchronization primitives
  13. 39:24Condition variable optimizations
  14. 41:51Futures and executors
  15. 44:18Indexed memory pool
  16. 47:07Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.