lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sus@programming.dev to Programmer Humor@programming.devEnglish · 2 days ago

Stringly typed

programming.dev

message-square
89
fedilink
549

Stringly typed

programming.dev

sus@programming.dev to Programmer Humor@programming.devEnglish · 2 days ago
message-square
89
fedilink
  • baines@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    how big is your word and how would this work

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      You know, I was just joking, but turns out, Middle Endian really does exist!

      https://en.wikipedia.org/wiki/Endianness#Middle-Endian

      And it’s just as crazy as one’d think. It’s a 32bit value consisting of two 16bit little endian words jumbled together in big endian. So the byte order is B A D C.

      Whenever I think “This is a really stupid idea, nobody would do that”, turns out, someone actually did that.

      • baines@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        2 days ago

        oh lord why but that is about what i thought itd be

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.07K users / day
  • 4.31K users / week
  • 8.87K users / month
  • 19.9K users / 6 months
  • 1 local subscriber
  • 26.3K subscribers
  • 1.74K Posts
  • 64.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org