1147
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 27 Mar 2025
1147 points (99.2% liked)
Programmer Humor
22134 readers
1948 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
Ada is a language that leaves a lot of things "implementation dependent" as it's not supposed to grant easy access to underlying data types like those you'll find in C, or literally on the silicon. You're supposed to be able to declare your own integer type of any size and the compiler is supposed to figure it out. If it chooses to use a native data type, then so be it.
This doesn't guarantee the correctness of the compiler nor the programmer who absolutely has to work with native types because it's an embedded system though.
This has ended in disaster at least once: https://itsfoss.com/a-floating-point-error-that-caused-a-damage-worth-half-a-billion/