Anyone remember DEAD BEEF

jim mcnamara
Mentor
3,652
1,889

Main Question or Discussion Point

from programming long ago?
 

Answers and Replies

Borg
Science Advisor
Gold Member
1,845
2,176
Yes.
 
1,550
560
no.
 
32,928
4,634
Sure. The hex number 0xDEADBEEF happens to be the decimal number 3735928559, although that's of no real consequence.
 
Borg
Science Advisor
Gold Member
1,845
2,176
Maybe it's his phone number. :nb)
 
berkeman
Mentor
56,086
6,136
I remember that we used it as a default setting a few years ago (I don't remember the exact application), but it was pointed out that it might not sit well with our vegetarian customers (which we never thought of), so we changed it. Not so much to be PC, but to avoid potential conflicts. (And that was before I married a vegetarian...) :smile:
 
Klystron
Gold Member
501
578
I tried to relate a few hexadecimal jokes before but they fell flat. Either jokes made with words formed from the first six letters of the alphabet (combined with digits 0..9 ?) are not funny or people do not program hex any more. Cafe Dead, Feed Beef, Deaf Fade, Aced Deed.
Ho-Hum 😌
 
Vanadium 50
Staff Emeritus
Science Advisor
Education Advisor
23,453
5,880
I tried to relate a few hexadecimal jokes before but they fell flat.
I agree. Jokes are better in other bases:
Why do programmers confuse Christmas with Halloween?
Because 31 Oct = 25 Dec
 
Borek
Mentor
28,129
2,635
Yep.
 
DavidSnider
Gold Member
477
125
Yep.

Code:
 _   _
((___))
[ x x ]
 \   /
 (' ')
  (U)
 
185
140
Wow. This takes me back to the days when 32767 was the highest number in the universe!

I seem to have some recollection that deadbeef was null data on some systems..... i.e. if you read some section of a program or data space that contained null data (as opposed to just zeros or random noise), than you would see deadbeef, in hex... but this is just a vague wisp of unrefreshed memory.

diogenesNY
 
Nugatory
Mentor
12,420
4,907
from programming long ago?
Sure, and there are many more as well. We used these values when we needed something that would stand out in a hex dump (either scanning visually or searching), or a recognizable sentinel value

A few others: FEEDBEEF, FEEDFACE, DEAFBEEF, ....
 
jim mcnamara
Mentor
3,652
1,889
Solaris' malloc uses it to mark free memory. FWIW.
 

Related Threads for: Anyone remember DEAD BEEF

  • Last Post
Replies
6
Views
2K
Replies
4
Views
1K
Replies
7
Views
2K
Replies
10
Views
2K
  • Last Post
Replies
9
Views
2K
  • Last Post
Replies
15
Views
4K
  • Last Post
Replies
7
Views
1K
  • Last Post
Replies
16
Views
2K
Top