this post was submitted on 09 Apr 2025
310 points (94.8% liked)

PC Gaming

10811 readers
557 users here now

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let's Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] timewarp@lemmy.world 66 points 1 week ago* (last edited 1 week ago) (1 children)

You know what would help prevent things like this? Unions.

Unions are what companies in the tech industry fear the most.

[โ€“] 30p87@feddit.org 7 points 1 week ago* (last edited 1 week ago)
union Data {
    int i;
    float f;
    char str[20];
};

Here, have a union