Generic Types in Rust

Generic Types in Rust

Let's Get Rusty

3 года назад

66,736 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@samuelwittlinger7790
@samuelwittlinger7790 - 04.10.2023 14:00

It doesn't slow down performance but it should be noted that heavy use of generics makes your binaries larger.

Ответить
@naitikmakwana4286
@naitikmakwana4286 - 19.06.2023 07:02

backgroud music is very distracting..please try to avoid it

Ответить
@paperstars9078
@paperstars9078 - 05.06.2023 15:26

what is the music in the background?

Ответить
@rotteegher39
@rotteegher39 - 03.02.2023 09:58

Do you have an Option and Result enums as a tattoos on your arms?

Ответить
@walli33
@walli33 - 21.01.2023 19:06

Nice Morgan !!!

Ответить
@natanfurman2467
@natanfurman2467 - 22.11.2022 00:38

Why doesn’t the last example throw an error at line 21, arent x and y private?

Ответить
@ehsanisa3759
@ehsanisa3759 - 12.11.2022 14:55

chad bogdan

Ответить
@filipbarbaric1960
@filipbarbaric1960 - 21.10.2022 22:03

men you are better than undemy tutorials.

Ответить
@NFLStudy
@NFLStudy - 07.10.2022 06:55

Excellent video on a topic that can be difficult for some.

Ответить
@feliperios7536
@feliperios7536 - 21.09.2022 00:13

Nice job

Ответить
@tombo615
@tombo615 - 24.08.2022 15:34

This was a super helpful overview - great job!

Ответить
@WaiTingKuo0527
@WaiTingKuo0527 - 06.07.2022 22:19

better use Ord instead. Partial order doesn't guarantee global maximum exist (mathemetically)

Ответить
@WaiTingKuo0527
@WaiTingKuo0527 - 06.07.2022 21:54

why doesnt my refactoring menu show the "extract function" method? any extension i need to install except rust-analyzer?

Ответить
@christosbinos8467
@christosbinos8467 - 05.07.2022 10:17

is self in rust similar to this in javascript?

Ответить
@jabuci
@jabuci - 02.07.2022 07:58

At mixup(), I want the first parameter to be &self, not just self. p1.mixup(p2) consumes both p1 and p2 because of move :(

Ответить
@poonikarthu4988
@poonikarthu4988 - 01.07.2022 18:11

Instead of taking in a vector of integers, we want to take in a vector of TEA.

Ответить
@koustubh7476
@koustubh7476 - 08.05.2022 18:38

Your explanation is really easy to understand, thank you!

Ответить
@Kollegah9997
@Kollegah9997 - 20.04.2022 22:56

as a C# Developer this looks just like im using it in C#, Rust is really awesome

Ответить
@SemiMono
@SemiMono - 07.04.2022 23:58

New music! :D

Ответить
@ramanshariati5738
@ramanshariati5738 - 31.03.2022 16:21

awesome

Ответить
@redcrafterlppa303
@redcrafterlppa303 - 16.03.2022 21:08

You mentioned that the all needed versions of a generic are created at compile time. So are generics implemented using type erasure like in java or how does it work under the hood?

Ответить
@lsatenstein
@lsatenstein - 11.03.2022 22:05

I have started learning RUST and your videos help me immensely. I follow your explanations and those as well from the PDF files on my desktop.
Here is one question for you about structures. In C, I can define a structure as a typedef. Is the typedef facility or prototyping function definitions also available in Rust?

Ответить
@pynchia4119
@pynchia4119 - 15.02.2022 19:09

you need to work on the lighting: you seem to be wearing a mask around your eyes or having been up all night...

Ответить
@maksymrachytskyy1677
@maksymrachytskyy1677 - 29.01.2022 01:41

Looks pretty much like swift ) thank you for your tuts

Ответить
@coldsir5406
@coldsir5406 - 26.01.2022 23:42

Why do we need to define the type of impl<T,U> can't we just write witrhout generics like ```impl Point<T,U>```

Ответить
@muneebakhlaq3085
@muneebakhlaq3085 - 03.01.2022 14:34

Nice video

Ответить
@teachforyou6489
@teachforyou6489 - 24.12.2021 09:02

Thank YOu Bogdan You are really doing superb. <3

Ответить
@bjugdbjk
@bjugdbjk - 18.12.2021 08:30

Fabulous Man !!! I was going through the rust book for quite some time, but the topics I was able to cover using ur playlist is far more in great pace !!! tysm , just love ur teaching style !!
Can see lot of traction of using rust in blockchain, could you make something building common concepts in blokchain using RUST, I guess this will bring lot of traction to ur channel too :)

Ответить
@sc5shout
@sc5shout - 19.10.2021 18:30

Is there a variadic generic type?

Ответить
@arthurtapper1092
@arthurtapper1092 - 02.10.2021 21:19

Reads straight from Rust book for entire video. "If you don't understand just pause the video and read through."
People who read rust book and still don't understand: !?!?! Serioiusly? That's why were here

Ответить
@orhalimi
@orhalimi - 14.08.2021 13:26

Great video

Ответить
@caseyyeow1649
@caseyyeow1649 - 12.07.2021 02:42

Excellent video. Is there a faint background music behind? Quite irritating when you want to concentrate. Thanks. 🙏

Ответить
@dzibanart8521
@dzibanart8521 - 06.05.2021 05:56

yoooo nicely explained! subscribed

Ответить
@TheEmbeddedLinuxDude
@TheEmbeddedLinuxDude - 03.05.2021 04:08

This was very well explained. Thank you Bogdan!

Ответить
@JohnWick-mk4ve
@JohnWick-mk4ve - 15.04.2021 22:29

Hi.. great video.. thanks !

Ответить
@1986lawless
@1986lawless - 15.04.2021 04:18

Love your content. The whole way through this video I was certain there would be a performance hit i.e. type coercion (sorry PHP and JS dev here) Then you mentioned it is taken care of! Loving this - thank you so much!

Ответить
@sahilverma4077
@sahilverma4077 - 01.04.2021 00:23

I really think traits are a really good way to limit your template and make them safer, wish we had those in java too (we have something similar but not close, i.e., we can extend from prebuilt classes so that the T type can be only of a child type of only a particular class)

Ответить
@antonioquintero-felizzola5334
@antonioquintero-felizzola5334 - 29.03.2021 03:45

I recently discovered your channel I like it so far. I'm big fan of Rust, I cannot say I'm still good at it though. Keep up the good work.

Ответить
@GolangDojo
@GolangDojo - 29.03.2021 01:21

What are you doing with your audio? Sounds so clean

Ответить