mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: How to write elegant C coding
@ 2005-01-05  6:44 krishna
  2005-01-05  7:49 ` Coywolf Qi Hunt
  0 siblings, 1 reply; 4+ messages in thread
From: krishna @ 2005-01-05  6:44 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel Mailing List, Con Kolivas

Thank you very much.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to write elegant C coding
  2005-01-05  6:44 How to write elegant C coding krishna
@ 2005-01-05  7:49 ` Coywolf Qi Hunt
  2005-01-05  8:14   ` Al Viro
  0 siblings, 1 reply; 4+ messages in thread
From: Coywolf Qi Hunt @ 2005-01-05  7:49 UTC (permalink / raw)
  To: krishna; +Cc: Alan Cox, Linux Kernel Mailing List, Con Kolivas

I'd say better to study compile theory and a kind of compiler source code.


On Wed, 05 Jan 2005 12:14:19 +0530, krishna
<krishna.c@globaledgesoft.com> wrote:
> Thank you very much.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


-- 
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to write elegant C coding
  2005-01-05  7:49 ` Coywolf Qi Hunt
@ 2005-01-05  8:14   ` Al Viro
  2005-01-05 15:17     ` How to write elegant C coding (certainly OT) Adrian von Bidder
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2005-01-05  8:14 UTC (permalink / raw)
  To: Coywolf Qi Hunt; +Cc: krishna, Alan Cox, Linux Kernel Mailing List, Con Kolivas

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to write elegant C coding (certainly OT)
  2005-01-05  8:14   ` Al Viro
@ 2005-01-05 15:17     ` Adrian von Bidder
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian von Bidder @ 2005-01-05 15:17 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 388 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-05 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05  6:44 How to write elegant C coding krishna
2005-01-05  7:49 ` Coywolf Qi Hunt
2005-01-05  8:14   ` Al Viro
2005-01-05 15:17     ` How to write elegant C coding (certainly OT) Adrian von Bidder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome