memory alignment in C

how compiler will do memory alignment in C.

what we can do to reduce extra space usage caused by memory alignment in C

http://www.catb.org/esr/structure-packing/

http://www.ibm.com/developerworks/library/pa-dalign/

http://wr.informatik.uni-hamburg.de/_media/teaching/wintersemester_2013_2014/epc-14-haase-svenhendrik-alignmentinc-paper.pdf

http://stackoverflow.com/questions/381244/purpose-of-memory-alignment

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s