Lol, it took me a while to realize it’s the compiler essentially saying “how high”.
WRONG, PRIVATE!
Now drop and give me int(ceil(19.9))!
Height should be a float
Chad quantised rust
Never use floats.
i dislike rust, but have to give them credit for helpful error messages. not quite racket level but impressive
What made you dislike it?
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
Pointers are ackshully 48 bits on amd64 (which is most PCs and servers)
Well ackshully newer CPUs support 5-level-paging which uses 56 bits.
I do enjoy the rust compiler error messages. They are nicely formatted
Yeah, but to observe such error messages you’ll basically need to wait for 20 mins for it to compile.
No? The steps are compiled once and afterwards your project just gets compiled. Besides, rust-analyzer exists.