Tag
Well-Typed 的博客文章讨论 Haskell 中异常处理的最佳实践,聚焦三个目标:避免资源泄漏、保证代码可推进、让失败到达能处理它的代码,并介绍同步与异步异常等基础概念,作为系列文章的第一部分。
A blog post defending Rust's lock poisoning mechanism amid a proposal to make the default mutex non-poisoned, arguing that unexpected panics in critical sections threaten system correctness and that poisoning should extend beyond mutexes.
A blog post sharing a Haskell pattern for building WebSocket servers that manage shared, per-game state across multiple clients, demonstrated with a Noughts and Crosses multiplayer server using STM TVars and broadcast TChans.
Armin Ronacher argues that Rust's mutex poisoning feature should be removed or made the exception, citing real-world deadlocks and panic-to-outage failures, amid a libs team discussion to make non-poisoning locks the default in the next edition.
NousResearch received one of NVIDIA's first Vera CPU DevKits and plans to run large swarms of Hermes Agents to test its concurrency capabilities.
Second post in Aerogramme's 'Quality IMAP' series, detailing the challenges of concurrent mailbox access in IMAP and the correctness improvements made to Aerogramme's IMAP implementation.
Arctic is a lock-free adaptive radix tree that combines high performance, non-blocking operation, and range scans, integrating into RocksDB and Turso to improve write-heavy benchmark throughput by up to 40% and 12% respectively over default skiplist indexes.
A blog post arguing that mutex poisoning by default is one of Rust's biggest design mistakes, harming performance and readability while failing to solve the general problem it targets.
gohawk 是一款面向 Go 语言的工业级静态分析工具,专注于资源管理和并发问题检测,已用于发现并修复 Docker、Kubernetes 和 Caddy 中的真实 bug。
Orgtree v4.4 introduces Projects, a new canvas node type enabling hierarchical agent organization, persistent shared project state, and concurrency primitives like mailbox queues, round-robin load balancing, and semaphore-style concurrency slots for coordinating multi-agent work.
A blog essay arguing that Concurrent ML's event-based concurrency model improves on Go's CSP approach, unifying choice and cancellation while enabling composition and avoiding goroutine leaks, demonstrated through Racket examples.
A 17-day development update on Astraea, an experimental cognitive architecture, covering a deep architectural audit of 233 Python files and fixes to its affective timing, shared-boundary concurrency, AISS event system, and memory/continuity handling.
In his talk "Getting Canceled" at Software you can Love 2026 Vancouver, Zig Software Foundation president Andrew Kelly explains the nature of threads and concurrency from a hardware perspective (interrupts, pipelining, cache coherence), and why the fundamental complexity introduced by contention cannot be eliminated by software abstractions.
Raymond Chen wraps up his C++ futures library series by explaining std::future and std::shared_future, how they manipulate the underlying 'source', and offers his alternative naming suggestions for the futures library components.
Raymond Chen explores workarounds for creating an immediate on-thread std::future in C++, using std::promise, std::packaged_task, or a deferred std::async that is waited on immediately.
Raymond Chen 解释 C++ std::async 的心智模型,说明 launch 策略的两个维度(立即/延迟、同线程/新线程)中哪些组合是标准允许的,哪些被禁止或由实现决定。
博客文章介绍如何通过 CyclicBarrier 将锁步(lockstep)tick 游戏循环改造为流水线(pipeline)tick 系统,只需约三行代码改动即可让读写阶段并行执行,从而将 tick 时间从读写时间之和降到最大单阶段时间,同时保留背压与超时跟踪能力。
A follow-up blog post in Raymond Chen's C++ futures series explaining the mental model behind std::promise and std::packaged_task, showing how a shared 'source' state is managed via shared_ptr and how packaged_task wraps a promise to store call results for retrieval by a future.
Raymond Chen 的《The Old New Thing》博客深入解析 C++ 标准库中 std::future 背后的内部实现机制,展示了 promise、packaged_task 和 async 共同依赖的底层 source 状态类的心智模型与代码构建过程。
Hibana 是一个 Rust crate,允许程序从一个全局编舞(choreography)执行多角色有限协议,将其投影为每个角色的紧凑程序,并在 no_std、无分配器的运行时强制每个 send/recv/route 步骤符合协议。它支持最多 256 个角色、异步操作与仿射端点,适用于托管和嵌入式目标。