immer
« Back to VersTracker
Description:
Library of persistent and immutable data structures written in C++
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ immutable data-structures functional-programming library
Install: brew install immer
About:
Immer is a C++ library that provides persistent and immutable data structures, enabling efficient state management through structural sharing. It allows modifications to create new versions of data structures while reusing unchanged parts, minimizing memory overhead. This approach is ideal for functional programming patterns, concurrent applications, and scenarios requiring efficient snapshots of state.
Key Features:
  • Structural sharing for memory efficiency
  • Functional programming paradigm support
  • High-performance operations (often O(log n))
  • Thread-safe immutable data structures
  • Header-only library
Use Cases:
  • State management in functional C++ applications
  • Concurrent programming without locks
  • Undo/redo functionality in software
  • Game development for snapshotting game state
Alternatives:
  • Boost.Immutable – Part of Boost libraries; Immer is often considered more modern and performant for specific functional use cases.
Version History
Detected Version Rev Change Commit
Oct 27, 2024 3:46pm 0 VERSION_BUMP 39817c0e