• shameless@lemmy.world
      link
      fedilink
      arrow-up
      22
      ·
      6 months ago

      I’m trying to learn rust and so far this has definitely made it so much more accessible.

      Not to mention their super useful “rustlings” training which has these nice little challenges to get you used to language and syntax

    • 30p87@feddit.de
      link
      fedilink
      arrow-up
      6
      arrow-down
      5
      ·
      6 months ago

      Yeah, but to observe such error messages you’ll basically need to wait for 20 mins for it to compile.

      • PlexSheep@infosec.pub
        link
        fedilink
        arrow-up
        5
        ·
        6 months ago

        No? The steps are compiled once and afterwards your project just gets compiled. Besides, rust-analyzer exists.

  • embed_me
    link
    fedilink
    arrow-up
    49
    arrow-down
    2
    ·
    6 months ago

    That’s what makes us humans different from computers. We don’t ask how high, we just do it. Now, if it were a C pointer it would jump anywhere from 0 to 2^32-1. That’s why C is more suited for artificial intelligence than it might initially seem. Thanks for coming to my tedx talk

      • embed_me
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        6 months ago

        I was mostly joking about a stray pointer of type uint32_t*

        So the size of the pointer itself doesn’t matter

  • bamfic@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    6 months ago

    i dislike rust, but have to give them credit for helpful error messages. not quite racket level but impressive