Messages in this thread | | | From | Adrian von Bidder <> | Subject | Re: How to write elegant C coding (certainly OT) | Date | Wed, 5 Jan 2005 16:17:52 +0100 |
| |
On Wednesday 05 January 2005 09.14, Al Viro wrote: > On Wed, Jan 05, 2005 at 03:49:07PM +0800, Coywolf Qi Hunt wrote: > > I'd say better to study compile theory and a kind of compiler source > > code. > > Yes, gcc source definitely makes a great cautionary tale about the need > of writing elegant code and dreadful results of not doing so.
LOL
I specifically recommend the ARM backend. It was copied from some other RISC target, then a ARM thumb (16bit instruction width) backend was split from that, and finally the thumb and 32bit backends were merged again, apparently without removing much of the duplicated code.
Fun.
-- vbi
-- featured link: http://fortytwo.ch/gpg/subkeys [unhandled content-type:application/pgp-signature] | |