Logo
Linux: 27.8 million lines of 'it works, don't touch it'
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Char vs int Memes

Posts tagged with Char vs int

Why Shouldn't I Save 5 Chars As An Int?

Programming Debugging C++ Algorithms
1 year ago 574.6K views 0 shares
Why Shouldn't I Save 5 Chars As An Int?
That moment when you're optimizing memory usage and think "You know what? A char is 8 bits but I only need to store 5 characters... I could totally squeeze that into a 32-bit integer." Then you spend 6 hours bit-shifting and masking when you could've just used an array and gone home early. But hey, you saved 3 whole bytes! Practically a hero of computer science.

Today's picks

The Classic Needed A 2026 Update

The Classic Needed A 2026 Update

Programming
123.0M views 1 day ago
Cmhoo XXL Professional Large Mouse Pad & Computer Game Mouse Mat (35.4x15.7x0.1IN, Map) (90 * 40 Map)

Cmhoo XXL Professional Large Mouse Pad & Computer Game Mouse Mat (35.4x15.7x0.1IN, Map) (90 * 40 Map)

Affiliate
$12.98
A original meme based on a real experience

A original meme based on a real experience

Programming
130.3K views 3 years ago