Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 01:39:46 +0200 (EET)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        Chris Pressey <cpressey@catseye.mine.nu>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: FreeBSD Most wanted
Message-ID:  <20040306013914.D38020@haldjas.folklore.ee>
In-Reply-To: <20040305153505.74061868.cpressey@catseye.mine.nu>
References:  <Pine.LNX.4.43.0403011839470.3269-100000@pilchuck.reedmedia.net> <EABDE846-6EF2-11D8-AE09-000A95DA58FE@jimz.net> <20040306005744.T38020@haldjas.folklore.ee> <20040305153505.74061868.cpressey@catseye.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 5 Mar 2004, Chris Pressey wrote:

> On Sat, 6 Mar 2004 01:02:14 +0200 (EET)
> Narvi <narvi@haldjas.folklore.ee> wrote:
>
> >
> > On Fri, 5 Mar 2004, Chris Pressey wrote:
> >
> > > On Fri, 5 Mar 2004 17:17:40 -0500
> > > Jim Zajkowski <jim@jimz.net> wrote:
> > >
> > > > On Mar 5, 2004, at 6:02 PM, Daniela wrote:
> > > >
> > > > > But I'm so into low-level programming, that it's (sometimes)
> > > > > easier for me to code in ASM than in C.
> > > >
> > > > Like I said, may you have a long and successful career in writing
> > > > device drivers and firmware.
> > >
> > > Or compilers.
> >
> > The majority of speed in compilers does not come from assembler
> > tricks.
>
> I know.  I was merely pointing out that firmware programming is not the
> only career path for someone who specializes in assembly.
>
> > [...]
> > Pick up a compiler book - any compiler book - and you will see
> > relatively little about ASM.
>
> I don't think that's because it's unimportant.  To the contrary:
>
> "Familiarity with the target machine and its instruction set is a
> prerequisite for designing a good code generator.  Unfortunately, in a
> general discussion of code generation it is not possible to describe
> the nuances of any target machine in sufficient detail to be able to
> generate good code for a complete language on that machine."
>   -- The "Dragon" Book, pp 519
>

Sure - but code generation is but one part of the compiler and usualy not
the largest.

> -Chris
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040306013914.D38020>