SmashTable: In-memory containers with DBMS-like transactions open-sourced
srchvrs · x · 2026-08-21
A developer released SmashTable, a rebuild of associative containers (AVL trees, weight-balanced trees, and hash tables) for Python and C++, designed to provide DBMS-like transactional behavior for in-memory logic.
Key Features:
- Similar to Python's dict or C++'s std::map, but enables atomic, isolated, and consistent updates.
- Supports 2-phase-commits across multiple containers, avoiding the need for Redis or etcd in inappropriate scenarios.
- AI-Generated Code: A significant portion of the new code is AI-generated, acknowledged to likely contain bugs, though ensuring transactional consistency is challenging even for humans.
Originally built for Unum Cloud's UStore DBMS engines, it is optimized for low latency in RL loops or simulation environments across 100+ core NUMA machines.
More from coding & agent
- Dissecting AI memory: GPU context vs. Agent knowledge — AccBalanced · 2026-08-21
- Grok Bot cleans 100k emails, unsubscribes via autonomous browser use — elonmusk · 2026-08-21
- First OpenAI Codex Ambassador appointed in Salt Lake City — paw_lean · 2026-08-21
- Human-Agent Collaboration: How Modern Teams Run Agentic Workflows — JosephJacks_ · 2026-08-21
- PostHog Founder on AI Pivot: Becoming a 'Doing Company' That Fixes Code While You Sleep — ycombinator · 2026-08-21
- LangChain to host 'Building Agents with Agents' Roadshow on Aug 27 — LangChain · 2026-08-21