Rust 为什么需要 Pin
2024-09-08
Rust的异步编程中,编写自定义异步库时会遇到 `Pin<&mut Self>` 和 `T: ?Unpin` 等。这些概念源于自引用类型(self-referential types)的安全问题
225 字
|
1 分钟
Dart memory and WeakReferences
2024-08-09
Learn how memory management works in Dart and how to use WeakReferences.
289 字
|
1 分钟