this post was submitted on 21 Jan 2024
787 points (93.4% liked)

Programmer Humor

32472 readers
589 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 9 months ago

Or if your pulling 4 byte data from an AtoD converter and it's ordered 2, 3, 0, 1 for a fixed point value that you need to convert to a standard float at an extremely high rate or else the ring buffer will fill and you'll start losing data.

That code review was a good time.