Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Crossync - a super fast Rust concurrency library

Дата публикации: 13-10-2026 09:38:12


I've released crossync 0.2.1, an update to my open-source Rust library for concurrent data structures and synchronization.
The project is about working with data shared between threads: collections that multiple workers can access, queues for passing work around, and shared values that can be updated with synchronization handled internally.
It includes concurrent vectors, hash maps, arrays, a bounded ring buffer, and single-value containers. For example, cloning an AtomicCell gives another thread a handle to the same underlying value rather than creating a separate copy.
This update focuses on fixing bugs rather than adding more features. The main changes cover:
Memory and ownership: fixes to storage lifetimes, memory reclamation, buffer draining, and cleanup when an operation panics.
Thread coordination: fixes to waiting and wake-up behavior, container reset operations, and barrier accounting.
Safer APIs and better tests: corrected thread-safety constraints, explicit ownership-transfer methods, and regression tests for tricky access and cleanup scenarios.
Most of that work landed in 0.2.0; 0.2.1 follows up with fixes to tests, CI, and release packaging. There are also API changes, so existing users should check the changelog before upgrading.
The library uses both atomic operations and internal locks—the Atomic* names don't mean every operation is lock-free. The documentation now explains the access rules and ownership constraints more explicitly.
It's available under the Apache 2.0 license, with examples and verification instructions in the repository.
I'd appreciate feedback on the project, especially whether the API and examples make sense for your own use cases. Bug reports, small reproductions, and suggestions for missing examples are welcome.
Full changelog · crates.io · Documentation
1 post - 1 participant
Read full topic

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Loole 0.6.0: Improved correctness, performance and Flume compatibility09.414-10-2026
2Sping 1.5.5 — a cross-platform network diagnostics CLI written in Rust09.1910-10-2026
3I wrote a small library for exclusive component filtering in bevy014.9313-10-2026
4FerroProve - C-to-Rust lifter emitting #![forbid(unsafe_code)] crates with a differential oracle015.5117-10-2026
5[Project] sol: A self-contained browser kernel written in Rust09.7618-10-2026
6Creusot 0.14.0 - Contracts for Rust, formally proved08.8313-10-2026
7Zaxis 0.0.5: immediate-mode GUI on wgpu, embeddable in a host's wgpu pass, with an real overlay layer for other processes010.211-10-2026
8Multi_bimap - many-to-many bimap freely made of two arbitrary maps013.116-10-2026
9Почему миллион корутин на Rust весит меньше, чем сто тысяч на Python05.312-06-2026
10My state lib PurrGress012.6213-08-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 8. Источник: users.rust-lang.org.