Rust Crash Course | #13 Pointers and Referencing

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024
  • Welcome back to video number 13 in this Rust tutorial series! In this video, we learn about pointers and referencing!
    📖Resources📖
    Rust Online Book: doc.rust-lang....
    💻Code💻
    github.com/cod...
    🔗 Social Media Links 🔗
    📸 Instagram: / codeofthefuture
    📱TikTok: / codeofthefuture
    📘Facebook: / codeofthefuture
    🦜Twitter: / code_ot_future
    📝LinkedIn: / code-of-the-future
    📂GitHub: github.com/cod...
    💸 Donations 💸
    One-Time Donations: ko-fi.com/code...
    Patreon: / code_of_the_future

Комментарии • 15

  • @TwentyNineJP
    @TwentyNineJP 5 месяцев назад +3

    I just started learning Rust yesterday, and I'm still at the stage of expecting pointers and references to work just like C.
    So when they inevitably don't, I'm back to the freshman days of seeing the & and * operators as magic incantations that work only when the moon is in the right phase

  • @thomasgollenia7577
    @thomasgollenia7577 Год назад +5

    Looking forward to seeing the in-depth video for pointers, it's pleasant to listen to you. Many people want to learn to code, but they don't want to learn the inner workings of a computer and its components. Not knowing anything about memory adresses or cpu cycles makes it hard to understand the necessity of pointers and references and can even screw a simple JavaScript program. However, you forgot your glasses.

    • @bifidoc
      @bifidoc Год назад

      you should not then learn rust, good way to go would be to learn python or typescript.
      rust is designed as middle-level language (with access to system), therefore understanding how computer works is a must.

    • @PepePlaca-t6s
      @PepePlaca-t6s 10 месяцев назад +1

      trust me, you should learn the inner stuff as well. Its a deep learning curve at first, but then everything becomes smooth.

  • @weirkved
    @weirkved Год назад +2

    where can I see the other videos? great course Ellie!

  • @Mak-Henry
    @Mak-Henry 6 месяцев назад

    Thank you for your video :)

  • @mushinart
    @mushinart Год назад +1

    cool stuff , ellie

  • @tiagomello
    @tiagomello 9 месяцев назад +1

    And the glasses?

  • @sandstorm6528
    @sandstorm6528 9 месяцев назад +1

    What is the name of the theme your are using in your code?

  • @jackypaulcukjati3186
    @jackypaulcukjati3186 6 месяцев назад +1

    Is the reason for “we cant do this”, because rust can’t copy the vector

    • @gevezepodcast
      @gevezepodcast Месяц назад

      Not exactly, you can copy it but not as a vector. Vectors are non-primitive

  • @TheD3adlysin
    @TheD3adlysin Год назад +1

    Hold up. What if you dont use the macro to initialize the vec?

  • @muhammadarslan4998
    @muhammadarslan4998 Год назад +1

    new subscriber from Pakistan...lots of respect and love from pakistan.

  • @brianobot2543
    @brianobot2543 2 месяца назад

    Hello Everyone! Amazing content yeah! I am still very new to Rust and i noticed something i want to correct so that other people do not work with the same assumption as i had, around ruclips.net/video/OiyfIJe4s0c/видео.html
    She says arrays allow copy to another variable on reassignment because they are primitive types, well that is not entirely correct, in the case she used; it works! this is because the elements of the array implements Copy trait, therefore the array itself can be copied on reassignment or when passed to a function, but if instead i used Strings as the element of my arrays, i would not be able to get away with the assumptions that arrays always copy on reassignment. But this was definitely very educative. Thank you so much

  • @IamAWESOME3980
    @IamAWESOME3980 8 месяцев назад

    rare to see a female programmer