Scalar Types | Learn Rust part 4

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

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

  • @smartcontractprogrammer
    @smartcontractprogrammer  17 дней назад

    0:00 Intro
    0:12 Signed integers
    2:00 Unsigned integers
    3:10 Floating numbers
    3:22 Boolean
    3:30 Characters
    4:01 Type conversion
    4:55 Min and max values
    6:24 Overflows and underflows
    Code github.com/t4sk/hello-rust
    Course www.smartcontract.engineer/

  • @idahodz
    @idahodz 8 дней назад

    Clear and concise tutorial 👌🏻

  • @thurendous
    @thurendous День назад

    Thanks for the awesome lessons!
    I found that the `char::MIN` and `char::MAX` is not working right now. it throws an error: " use of unstable library feature 'char_max'"....

  • @ismailmoazami7586
    @ismailmoazami7586 16 дней назад

    Your focus for this rust course playlist will be blockchain right? may you please share more details? what you will share later? which concepts? thanks

    • @smartcontractprogrammer
      @smartcontractprogrammer  16 дней назад +1

      Topics are here and will be updated in the coming weeks
      github.com/t4sk/hello-rust
      No focus on blockchain

  • @thurendous
    @thurendous День назад

    Also I found that when I used `--release` in command it still panics.....
    But if I add `#![allow(arithmetic_overflow)]` into the code the panic will disappear.

    • @thurendous
      @thurendous День назад

      This is my code:
      ```
      // overflow
      let mut u: u32 = u32::MAX;
      u += 1;
      println!("Overflow: u32 max + 1: {x}");
      ```

  • @eeeeeeeeebatitupalkata6011
    @eeeeeeeeebatitupalkata6011 16 дней назад

    I see the course in your website only has generic rust stuff, will there be blockchain specific rust afterwards?

  • @VthePeople4156
    @VthePeople4156 17 дней назад

    Hi bro how r u....
    How independently write code in rust
    What type of task will I get in real-time...if I got job as a rust Devoloper

    • @smartcontractprogrammer
      @smartcontractprogrammer  16 дней назад

      I'm not sure. Rust is used in Solana smart contract development. So maybe start there?