Tag
A new Meta paper shows AI agents learn better from past attempts when experiences are routed into per-problem-type memory clusters rather than a single shared history, boosting performance by 15-30% of the max score while cutting API costs by 65-72%.
In his Zig talk at Code Maven, Sawyer X uses examples of configuration parsing and memory allocation to explain Zig’s core design philosophy: everything is visible, there is no hidden control flow, there are no macros or operator overloading, and problems should be turned into compile-time errors whenever possible.
Nim 2.4.0 stable release ships small-string optimization strings, incremental compilation (--ic:on), a new cross-thread cycle collector (--mm:yrc), improved sum types, and support for cyclic module dependencies.
作者从 Go 和 Zig 回到 C 编程时,反思了错误处理和资源清理的痛点,并介绍了受 John Carmack 邮件启发的使用 goto 统一清理出口的写法,让 C 的错误处理更简洁。
本文提出DiscernMem,一个免训练框架,通过缺陷感知记忆精炼与边界学习元记忆机制,帮助基于LLM的多智能体系统修正有缺陷的记忆并学习何时正确使用记忆,在AutoGen、CAMEL和MacNet上取得最佳平均分。
SPECMEM提出了一种在部署期间持续维护的工具调用记忆系统,通过在线写回已验证的调用记录并配合LRU淘汰和副作用门控机制,在多会话多用户场景下实现最高1.74倍的墙钟加速,同时避免了不可逆操作的错误。
The author describes building Dumpster, a cycle-detecting garbage collector for Rust — a language designed to avoid GC — by leveraging Drop, custom traits, and unsafe atomics to handle shared ownership cycles that Rc/Arc cannot free.
Raymond Chen explains why RoRegisterForApartmentShutdown wasn't suitable for cleaning up an unmarshalable delegate in a fake agile wrapper, detailing constraints around agile object requirements, unregistration warnings, apartment affinity, and O(n) lookup performance.
Windows 11 still ships EmulateHeap, a compatibility shim containing recompiled Windows 95 heap manager code, originally added to work around a use-after-free bug in SimCity that Microsoft patched the OS for rather than fixing the game.
A practitioner shares lessons from a year of running a multi-model router (drafter, critic, long-context searcher) on real work: role separation, verification gates, a provenance-checked lessons file, and small hot context survived, while agent personas, model voting, and long autonomous chains failed.
论文提出 TokenWorth,一个轻量级在线记忆框架,在严格的资源约束下学习哪些历史经验值得保留和重用,从而在提升终身智能体任务成功率的同时减少 token 消耗。
scriptc 发布实验性 API `@scriptc/experimental`,引入 `LifetimeRegion` 与 `ProgramLifetime` 契约,实现基于区域(region)的确定性内存释放,在 Node.js 下可无改动运行并兼容长驻编译器场景。
A survey paper that reframes long-context compression as a memory-management problem for LLMs, unifying prompt compression, KV-cache management, retrieval augmentation, and agent memory into a single information-lifecycle framework with a budgeted cost model.
本文提出 MemComposer,一个通过强化学习(基于 GRPO 的 ExPO 框架)学习为 LLM 智能体组装记忆的模型,联合考虑查询与候选记忆决定选取内容、数量与顺序,在 τ²-bench 上超越基线并降低 16.9%/4.9% 的记忆 token 开销。
一篇技术博客探讨 Zig 中 ArenaAllocator 与 ArrayList 增长机制的不兼容问题:ArrayList 的「分配-复制-释放」模式使旧内存几乎永远无法归还给 Arena,最坏情况下可能导致约 3 倍内存占用。作者建议通过预分配容量(initCapacity/ensureTotalCapacityPrecise)和避免交错分配来缓解该问题。
A blog post explaining the problems of NUL-terminated strings in C and introducing a small single-file C library that provides str_view and str_owned structs for safer, more efficient string handling.
LangChain 发布新博客,介绍其 Deep Agents 框架如何通过将上下文移出活跃窗口(而非删除)来解决智能体长期运行时的记忆与推理准确度下降问题。
SuperLocalMemory is a local-first, open-source (AGPL-3.0) governed memory layer that lets Claude Code, Codex, Cursor, ChatGPT, and any MCP or CLI agent share the same verified memory, supporting multimodal recall (pictures, PDFs) with audit trails and verified erasure.
一篇讲解 C 语言中 Arena 分配器的技术指南,介绍如何通过批量分配内存块来替代传统的 malloc/free 模式,从而提升性能并减少内存泄漏。
Explains how Jev can act as a semantic gate before Graphiti for agent memory systems, distinguishing lasting preferences from one-time instructions or sensitive data based on app-specific retention rules. The post clarifies that Jev is only needed when custom product-level memory policies go beyond Graphiti's built-in extraction and provenance capabilities.