Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[翻译自荐] 可视化 Rust 各数据结构的内存布局 #2374

Open
trdthg opened this issue May 9, 2022 · 0 comments
Open

[翻译自荐] 可视化 Rust 各数据结构的内存布局 #2374

trdthg opened this issue May 9, 2022 · 0 comments

Comments

@trdthg
Copy link

trdthg commented May 9, 2022

翻译说明

原视频于去年发布,但一直没有人做翻译。
原视频标题: Visualizing memory layout of Rust's data types
原视频链接: https://www.youtube.com/watch?v=rDoqT-a6UFg

视频大致分两部分

  • 二进制文件的运行细节,堆栈的相关知识和可视化
  • 各数据类型的内存布局可视化

推荐原因

  • 讲解全面,涵盖了基本类型,结构体,元组,枚举,智能指针,特征对象,闭包等类型
  • 堆栈对于所有语言都适用
  • 内存布局这部分内容不仅对 Rust,对其他语言也有参考价值

视频地址

可视化 Rust 各数据结构的内存布局
除了视频之外,还有一个 Markdown 版本的翻译文章,对视频内的可视化做了重新绘制,和重新排版
如果不想观看视频,也可以尝试阅读文章
文章链接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants