awful.systems
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jeena to Programmer Humor@lemmy.mlDeutsch • 15 days ago

Tell me the truth ...

lemmy.ml

message-square
23
fedilink
189

Tell me the truth ...

lemmy.ml

Jeena to Programmer Humor@lemmy.mlDeutsch • 15 days ago
message-square
23
fedilink
  • @virku@lemmy.world
    link
    fedilink
    9•15 days ago

    Store 8 bits in the same byte then 👌

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
      link
      fedilink
      3•15 days ago

      Wrong direction!

      Store only bits using word-length ints (32 bits in most modern architectures), and program everything to do math using arrays of 32 int-bits to numbers!

      • @virku@lemmy.world
        link
        fedilink
        4•15 days ago

        Oh man! That took me down memory lane!

        I once had to reverse engineer a database to make an invoice integration. They had an int named flags. It contained all status booleans in the entire system. Took me a while to figure that one out.

        • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
          link
          fedilink
          3•15 days ago

          We’ve all been there, friend. The bit arrays can’t hurt you now.

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

remote_follow_modal_title

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1.54K users / day
  • 1.74K users / week
  • 3K users / month
  • 9.59K users / 6 months
  • 35.9K subscribers
  • 1.65K Posts
  • 30.6K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org