{"id":13667635,"url":"https://github.com/sunface/too-many-lists","last_synced_at":"2025-04-23T02:34:07.407Z","repository":{"id":103439796,"uuid":"467324294","full_name":"sunface/too-many-lists","owner":"sunface","description":"中文书名\u003c\u003c手把手实现 Rust 链表\u003e\u003e，高质量手翻 Too Many Linked Lists， 是一本非常好的 Rust 实践学习教程","archived":false,"fork":false,"pushed_at":"2022-03-29T08:50:49.000Z","size":97,"stargazers_count":105,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T21:11:47.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://course.rs/too-many-lists/intro.html","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-03-08T01:47:57.000Z","updated_at":"2025-03-19T01:04:11.000Z","dependencies_parsed_at":"2023-03-13T15:08:35.136Z","dependency_job_id":null,"html_url":"https://github.com/sunface/too-many-lists","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Ftoo-many-lists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Ftoo-many-lists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Ftoo-many-lists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Ftoo-many-lists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunface","download_url":"https://codeload.github.com/sunface/too-many-lists/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250358072,"owners_count":21417405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T07:00:44.842Z","updated_at":"2025-04-23T02:34:07.382Z","avatar_url":"https://github.com/sunface.png","language":null,"funding_links":[],"categories":["Others","书籍/教程/文档"],"sub_categories":[],"readme":"# 手把手实现 Rust 链表\n\n\u003e 其它语言：兄弟，语言学了吗？来写一个链表证明你基本掌握了语法。\n\u003e \n\u003e Rust 语言: 兄弟，语言精通了吗？来写一个链表证明你已经精通了 Rust！\n\n\n上面的对话非常真实，我们在之前的章节也讲过[初学者学习 Rust 应该避免的坑](https://course.rs/sth-you-should-not-do.html#千万别从链表或图开始练手)，其中最重要的就是 - 不要写链表或者类似的数据结构！\n\n而本章，你就将见识到何为真正的深坑，看完后，就知道没有提早跳进去是一个多么幸运的事。总之，在专题中，你将学会如何使用 Rust 来实现链表。\n\n\u003e 本书由 [Rustt 翻译组](https://rustt.org) 进行翻译，并对内容进行了一些调整，更便于国内读者阅读\n\u003e\n\u003e **专题内容翻译自英文开源书 [Learning Rust With Entirely Too Many Linked Lists](https://rust-unofficial.github.io/too-many-lists/)，但是在内容上做了一些调整(原书虽然非常棒，但是在一些内容组织和文字细节上我觉得还是可以优化下的 ：D)，希望大家喜欢。**\n\n\n- [手把手带你实现链表](intro.md)\n    - [我们到底需不需要链表](do-we-need-it.md)\n    - [不太优秀的单向链表：栈](bad-stack/intro.md)\n      - [数据布局](bad-stack/layout.md)\n      - [基本操作](bad-stack/basic-operations.md)\n      - [最后实现](bad-stack/final-code.md)\n    - [还可以的单向链表](ok-stack/intro.md)\n      - [优化类型定义](ok-stack/type-optimizing.md)\n      - [定义 Peek 函数](ok-stack/peek.md)\n      - [IntoIter 和 Iter](ok-stack/iter.md)\n      - [IterMut以及完整代码](ok-stack/itermut.md)\n    - [持久化单向链表](persistent-stack/intro.md)\n      - [数据布局和基本操作](persistent-stack/layout.md)\n      - [Drop、Arc 及完整代码](persistent-stack/drop-arc.md)\n    - [不咋样的双端队列](deque/intro.md)\n      - [数据布局和基本操作](deque/layout.md)\n      - [Peek](deque/peek.md)\n      - [基本操作的对称镜像](deque/symmetric.md)\n      - [迭代器](deque/iterator.md)\n      - [最终代码](deque/final-code.md)\n    - [不错的unsafe队列](unsafe-queue/intro.md)\n      - [数据布局](unsafe-queue/layout.md)\n      - [基本操作](unsafe-queue/basics.md)\n      - [Miri](unsafe-queue/miri.md)\n      - [栈借用](unsafe-queue/stacked-borrow.md)\n      - [测试栈借用](unsafe-queue/testing-stacked-borrow.md)\n      - [数据布局2](unsafe-queue/layout2.md)\n      - [额外的操作](unsafe-queue/extra-junk.md)\n      - [最终代码](unsafe-queue/final-code.md)\n    - [使用高级技巧实现链表](advanced-lists/intro.md)\n      - [生产级可用的双向链表](advanced-lists/unsafe-deque.md)\n      - [双单向链表](advanced-lists/double-singly.md)\n      - [栈上的链表](advanced-lists/stack-allocated.md)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunface%2Ftoo-many-lists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunface%2Ftoo-many-lists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunface%2Ftoo-many-lists/lists"}