2 个仓库
Using unit structures that occupy no memory to implement markers and state patterns.
Distinct from Dynamically Sized Types: Specifically targets types with zero size, as a special case of dynamically sized types or size inspection.
Explore 2 awesome GitHub repositories matching operating systems & systems programming · Zero Sized Types. Refine with filters or upvote what's useful.
This project is an educational blog and learning resource dedicated to the Rust programming language. It provides a collection of curated guides, technical articles, and structured learning paths designed to teach language fundamentals, concurrency, and systems programming. The repository distinguishes itself by offering practical implementation tutorials for complex systems. This includes detailed guides on compiler development—specifically translating source code into targets such as ARM64, x86_64, LLVM IR, and WebAssembly—as well as networking examples for building multithreaded chat serve
Explains the use of unit structures as zero-sized types to create memory-efficient markers.
本项目是一个用于学习 Rust 编程语言的本地化教育资源,提供翻译成简体中文的综合指南和技术规范。它作为学习语言惯用法、内存管理和类型系统的教学工具。 该仓库专注于软件文档本地化,将官方指南转换为简体中文,以提高非英语使用者的可访问性。它利用基于 Markdown 的系统来组织内容,并支持导出为静态 HTML、PDF 和 EPUB 格式,以供 Web 和离线查看。 内容涵盖广泛的 Rust 技术领域,包括所有权和借用等内存管理原语、涉及 trait 和泛型的先进语言设计,以及全面的错误处理策略。它还详细介绍了编程基础、数据建模以及用于构建和依赖管理的开发者生产力工具的使用。
Describes the implementation of zero-sized types to create distinct types that define behavior without storing data.