Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmer
推荐理由
The best video on this might be from Casey Muratori
强烈推荐gingerBill · 原文
说明
这是2024年由xDahl发布的一部演讲,主题归在C, C++, Rust, Go & systems languages。它讲的是memory management paradigms这一支里的具体问题,而不是把整个领域扫一遍。适合想看推导、证明或实现细节的人。内容上可以概括成:Casey Muratori argues against smart pointers and RAII, advocating grouped-element thinking, zero-is-initialization and stubs as better ways to structure memory and handle errors.这些读者给出的理由,核心是:HN commenters in memory management and language design threads cite it as the best explanation of group lifetimes versus per-object ownership.讲法不绑某一条新闻,过几年仍然可以当材料看。从2024年到2026年,有6位不同的读者在6个不同月份把它推荐出来,其中明确叫别人去看的有3次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把memory management paradigms变成能跟着复述的例子。
视频信息
- 频道
- xDahl
- 时长
- 30 分 12 秒
- 发布年份
- 2024
同主题更多
- CppCon 2015: Andrei Alexandrescu “std::allocator...”
- Lexical Scanning in Go - Rob Pike
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
- Ideas about a new programming language for games.