Это видео недоступно.
Сожалеем об этом.
The Mystery of the Pin - Martin Hoffmann - RustNL 2023
HTML-код
- Опубликовано: 30 май 2023
- The Mystery of the Pin
by Martin Hoffmann
RustNL 2023, Amsterdam, May 10 2023, 2023.rustnl.org/
Slides: github.com/rustnl/rustnl2023/...
Coming from C++, it's taken me a while to understand that a "move" in C++ is not the same as a "move" in Rust. Both languages talk about "move semantics" but they are quite different to work with since C++ is heap-focused and Rust is more stack-focused. This talk does a great job of explaining what a move in Rust really is, and how this leads to needing a way to prevent moving when long-living pointers are active. Thank you!
Love this talk. Gonna have to do a few more laps around it to really get everything though.
Maybe the best talk of the day.
isn't pin! macro stabilized in std already?
Yes it is :)
13 And no man hath ascended up to heaven, but he that came down from heaven, even the Son of man which is in heaven.
14 And as Moses lifted up the serpent in the wilderness, even so must the Son of man be lifted up:
15 That whosoever believeth in him should not perish, but have eternal life.
16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
17 For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
18 He that believeth on him is not condemned: but he that believeth not is condemned already, because he hath not believed in the name of the only begotten Son of God.
19 And this is the condemnation, that light is come into the world, and men loved darkness rather than light, because their deeds were evil.
20 For every one that doeth evil hateth the light, neither cometh to the light, lest his deeds should be reproved.
21 But he that doeth truth cometh to the light, that his deeds may be made manifest, that they are wrought in God.
(Jn.3:13-21)