Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Jeena to Programmer [email protected]Deutsch • 3 days ago

Tell me the truth ...

piefed.jeena.net

message-square
28
fedilink
  • cross-posted to:
  • [email protected]
183

Tell me the truth ...

piefed.jeena.net

Jeena to Programmer [email protected]Deutsch • 3 days ago
message-square
28
fedilink
  • cross-posted to:
  • [email protected]
  • @[email protected]
    link
    fedilink
    8•3 days ago

    Store 8 bits in the same byte then 👌

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍
      link
      fedilink
      3•2 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!

      • @[email protected]
        link
        fedilink
        4•2 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•2 days ago

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

Programmer [email protected]

[email protected]
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]

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.
  • 24 users / day
  • 93 users / week
  • 164 users / month
  • 1.61K users / 6 months
  • 4 subscribers
  • 1.76K Posts
  • 37.8K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org