Millets: a practical memory-safety and thread-safety experiment
Summary
Millets presents a Nim-based runtime library that explores a borrow-first memory model to improve memory-safety and thread-safety without requiring compiler changes. It introduces concepts like a Bookkeeper, UserRecord, and an allocator, plus slices to minimize allocations, and discusses spawn-based concurrency and mutation-detection. The article provides Nim and Rust examples and outlines a minimal API and runtime considerations that could inform safer concurrency designs and memory-management strategies.