Where Do Libraries Come From?
summary
Most libraries start as accidental reuse of small code that solves a recurring problem and only become libraries once independent projects use them. An HDR Histogram begins as an inner class in a jitter tool, becomes a Java library with eight language ports, records 200 million recordings/sec, tracks microsecond-to-thousand-second ranges with fixed relative precision, and ships a common wire format and concurrent recorders. Portability pains force choices like Java 6–11 compatibility, avoiding multi‑version jars, and using encapsulated helpers and method handles; Java added onSpinWait to support future optimizations.
AI-written summary · about
chapters (6)
- 0:00Start
- 11:49Linear Implementations
- 22:59Api Compatibility
- 28:56Example of a Github Project
- 34:01Multi Version Jars
- 34:58Helper Class
related talks
49mOpen sourcing a library: how hard can that be?
48mDo you know these Libraries?
42mHow to Build a Library People Will Use
43mLibrary Developer Confidential
31mTips for Library Development (from a Startup Developer)
20mWriting Libraries is Terrible
45mCode Once, Use Everywhere: Building Shared Libraries for Multiple Projects
48mJava's Hidden Gems: Tools and Libraries
