nameandnature: Giles from Buffy (Default)
What is Strict Aliasing and Why do we Care? · GitHub
More type punning worries.
(tags: aliasing c programming punning)

Originally posted at Name and Nature. You can comment there (where there are currently comments) or here.

nameandnature: Giles from Buffy (Default)
Type punning isn’t funny: Using pointers to recast in C is bad.
A common C programming technique (casting between pointers to structures) leads to problems when strict aliasing is turned on (as it is if you set -O2 -O3 in gcc).
(tags: C programming casting punning)
Type Punning, Strict Aliasing, and Optimization – Embedded in Academia
More on the type punning/aliasing business.
(tags: C punning aliasing programming)

Originally posted at Name and Nature. You can comment there. There are currently comments.

Profile

nameandnature: Giles from Buffy (Default)
nameandnature

February 2025

S M T W T F S
      1
23 45678
910 1112131415
1617 1819202122
2324252627 28 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 11:58 am
Powered by Dreamwidth Studios