all 24 comments

sorted by: hot top controversial new old
[–] 131 points 2 years ago

Lol, it took me a while to realize it's the compiler essentially saying "how high".

  • source
  • [–] 73 points 2 years ago (2 children)

    I do enjoy the rust compiler error messages. They are nicely formatted

  • source
  • hideshow 4 child comments
  • [–] 23 points 2 years 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

  • source
  • parent
  • [–] 47 points 2 years ago (1 child)

    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

  • source
  • hideshow 2 child comments
  • [–] 6 points 2 years ago (2 children)

    Pointers are ackshully 48 bits on amd64 (which is most PCs and servers)

  • source
  • parent
  • hideshow 4 child comments
  • [–] 37 points 2 years ago (1 child)

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

  • source
  • hideshow 2 child comments
  • [–] 33 points 2 years ago

    WRONG, PRIVATE!

    Now drop and give me int(ceil(19.9))!

  • source
  • [–] 11 points 2 years ago (5 children)
  • [–] 10 points 2 years ago* (1 child)

    I don't know Rust but jump typically moves the program counter, where the height represents the number of instructions to move

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 years ago

    Huh, usually they ask 'jump where?'

  • source
  • [+] 1 point 2 years ago* (last edited 2 years ago)
    [removed by mod]
  • source