Rust Polymorphism: Generics and trait objects explained

preview_player
Показать описание
In this live and interactive tutorial, Tim McNamara explains how to use Rust's type system to create easy to use abstractions with no runtime overhead.

Follow Tim


Read Tim's writing

Рекомендации по теме
Комментарии
Автор

21:17 u8 is not utf8, its' unsigned 8 bit integer

myusernameislongerth
Автор

Finally... a good recommendation from YT

xccd
Автор

I am still not sure of the value of the Trait Object . Nice tutorial

hvram
Автор

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)

olsuhvlad
Автор

Hey Tim I really enjoyed this video I think you did a really great job with it in terms of explanation and pace and staying on focus. I also enjoyed seeing the comments on the bottom of the video from the live stream and when you finally switch the format at the end so the editor was full screen that was perfect. I've watched several of your other videos and streams and I enjoyed listening to you on Rustation Station. In any case keep up the good work you're very entertaining and I look forward to picking up your book as soon as I can I have previewed it! I think it would be nice to see some middle-sized projects or even small size projects from start to finish it's hard to find videos of good quality that show that process.

Ultrex
Автор

&str == AsRef<str>, is the lhs a so called syntax sugar?

liveonphoenix