стандартная библиотекаstandard library
Коллекции, строки, обёртки над памятью, конкурентность, ввод-вывод — то, чем реально пишется код каждый день, в отличие от языковых механизмов из language/. Каркас: 24 фичи по 7 тематическим разделам, страницы пока не написаны.Collections, strings, memory wrappers, concurrency, I/O — what code is actually written with every day, as opposed to the language mechanisms in language/. Skeleton: 24 features across 7 topic sections, pages not yet written.
Растущий массив на куче — аналог std::vector, дефолтная коллекция для почти всего.A growable heap array — the analogue of std::vector, the default collection for almost everything.
Хеш-таблица с рандомизированным по умолчанию хешером (защита от HashDoS) — аналог unordered_map/set.A hash table with a randomized-by-default hasher (HashDoS protection) — the analogue of unordered_map/set.
Упорядоченные ассоциативные контейнеры на B-дереве — аналог map/set, лучше кэш-локальность, чем у RB-дерева.Ordered associative containers backed by a B-tree — the analogue of map/set, with better cache locality than an RB-tree.
Кольцевой буфер с O(1) push/pop с обоих концов — аналог std::deque.A ring buffer with O(1) push/pop from both ends — the analogue of std::deque.
Бинарная куча (max-heap по умолчанию) — аналог std::priority_queue.A binary heap (max-heap by default) — the analogue of std::priority_queue.
Двусвязный список — присутствует в std, но почти никогда не является правильным выбором по сравнению с Vec/VecDeque.A doubly-linked list — present in std, but almost never the right choice compared to Vec/VecDeque.
Владеющая, растущая, гарантированно-UTF-8 строка и её заимствованный срез — аналог std::string/string_view.The owning, growable, guaranteed-UTF-8 string and its borrowed slice — the analogue of std::string/string_view.
format!/println! и трейты Display/Debug — библиотечная сторона форматирования, аналог std::format.format!/println! and the Display/Debug traits — the library side of formatting, the analogue of std::format.
split/trim/parse/replace и десятки других — практический набор для повседневной обработки текста.split/trim/parse/replace and dozens more — the practical toolkit for everyday text processing.
Строки не обязанные быть валидным UTF-8 (аргументы ОС) и типобезопасные пути — Path/PathBuf вместо строк с путями.Strings not required to be valid UTF-8 (OS-level arguments) and type-safe paths — Path/PathBuf instead of path-as-string.
Концепция и оператор ? уже разобраны в language/error-handling.html — здесь только полный набор методов на самих типах.The concept and the ? operator are already covered in language/error-handling.html — this section is only the full set of methods on the types themselves.
Сами механизмы (ownership, Rc/Arc/RefCell) разобраны в language/smart-pointers.html — здесь конкретные методы этих типов и утилиты std::mem.The mechanisms themselves (ownership, Rc/Arc/RefCell) are covered in language/smart-pointers.html — this section covers the concrete methods on those types and the std::mem utilities.
Box::new, Box::leak, Box<dyn Trait> в деталях, преобразование Box в/из raw pointer.Box::new, Box::leak, Box<dyn Trait> in detail, converting Box to/from a raw pointer.
strong_count/weak_count, get_mut, make_mut, Weak в деталях — методы, не концепция разделяемого владения.strong_count/weak_count, get_mut, make_mut, Weak in detail — the methods, not the shared-ownership concept.
get/set/replace/take, borrow/borrow_mut, try_borrow — полный набор методов внутренней изменяемости.get/set/replace/take, borrow/borrow_mut, try_borrow — the full interior-mutability method set.
mem::swap, mem::replace, mem::take, mem::drop — базовые приёмы для обхода borrow checker без unsafe.mem::swap, mem::replace, mem::take, mem::drop — the basic tricks for working around the borrow checker without unsafe.
thread::spawn, JoinHandle, thread::sleep, потоковые билдеры — библиотечная сторона потоков.thread::spawn, JoinHandle, thread::sleep, thread builders — the library side of threads.
Владеющий данные мьютекс (в отличие от C++, где mutex и данные раздельны) — RAII-guard как единственный доступ.A mutex that owns its data (unlike C++, where the mutex and the data are separate) — the RAII guard as the only access path.
Многие-производители/один-потребитель канал — message passing вместо разделяемой памяти.Multiple-producer/single-consumer channel — message passing instead of shared memory.
AtomicUsize/AtomicBool и Ordering (Relaxed/Acquire/Release/SeqCst) — аналог std::atomic.AtomicUsize/AtomicBool and Ordering (Relaxed/Acquire/Release/SeqCst) — the analogue of std::atomic.
Однократная ленивая инициализация — аналог std::call_once/статических локальных переменных C++.One-time lazy initialization — the analogue of std::call_once/C++ function-local statics.
Единый интерфейс ввода-вывода — файлы, сокеты, буферы в памяти реализуют один и тот же трейт.A unified I/O interface — files, sockets, in-memory buffers all implement the same trait.
Буферизация поверх Read/Write — аналог std::ifstream с буфером, но как явная обёртка, а не скрытое поведение.Buffering layered on top of Read/Write — the analogue of a buffered std::ifstream, but as an explicit wrapper rather than hidden behavior.
fs::read/write/File — операции с файловой системой, аналог std::filesystem.fs::read/write/File — filesystem operations, the analogue of std::filesystem.
статусstatus
Это каркас: разделы и список фич зафиксированы, страницы фич ещё не написаны. Заполнение будет вестись так же, как language/ — один эталонный файл вручную на раздел, затем параллельные агенты на остальные, затем независимая проверка.This is a skeleton: the sections and feature list are locked in, but the feature pages themselves haven't been written yet. Filling it in will follow the same process as language/ — one hand-written reference file per section, then parallel agents for the rest, then an independent check.