• 5 Posts
  • 145 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle


  • verstra@programming.devtoMicroblog Memes@lemmy.worldoddly specific
    link
    fedilink
    English
    arrow-up
    48
    arrow-down
    2
    ·
    5 days ago

    Well, no. They are not certainly using int, they might be using a more efficient data type.

    This might be for legacy reasons or it might be intentional because it might actually matter a lot. If I make up an example, chat_participant_id is definitely stored with each message and probably also in some index, so you can search the messages. Multiply this over all chats on WhatsApp, even the ones with only two people in, and the difference between u8 and u16 might matter a lot.

    But I understand how a TypeScript or Java dev could think that the difference between 1 and 4 bytes is negligible.












  • verstra@programming.devtoMemes@lemmy.mlCheckmate dronies
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    1 month ago

    To be honest, I know little about Mao and beginnings of PRC - I’m quite ignorant about how much of an “absolute leader” he was.

    But I do believe that idolizing a person and concentration of power are dangerous to democracy.

    And it’s interesting how much responses I got on this topic.