93
Comments
  • 26
    Plot twist: after purchase, you notice it only holds 16 bits. You complain to the sales bitch, but he pulls out the C standard.
  • 1
  • 9
    Finally Rust figured out how to name integer types: i8, i16, i32, i64, u8, u16, u32, u64

    Did it really need to take this long?
  • 3
    @devios1 C99 has a bit more than that - stuff like "give me an unsigned integer that has at least 16 bits, but I don't mind if it's wider in case the target CPU can process that faster".
  • 2
    @Fast-Nop Yes it would be handy to have a macro that refers to the target architecture word size.
  • 1
    Even funnier in French when you figure out "bit" and "bite" (which means "dick") have the same pronunciation
  • 2
    @devios1 it's called "usize"
  • 2
    It should have been ceil instead of roof ;)
  • 4
    Man he really needs to get better stock. These days all the int's I buy can fit 64 bits. Even comes with a sign by default!
  • 0
    @hjk101 Signs are a standard feature nowadays.
  • 1
    @devios1 Swift uses: Int8, Int16, Int32, Int64 and UInt8, UInt16, UInt32, UInt64.
Add Comment