Re: what kind of computer for programmer ?
- From: "Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx>
- Date: 27 Jun 2005 11:01:56 -0700
Phlip wrote:
> Rob Thorpe wrote:
>
> > The 16Kloc project above is 600KB (measuring disk-space not file size).
> > Extrapolating it's likely a 1.6 million line program would be about
> > 60MB in source form. If it's intermediate files take up say 5x the
> > size of the source I would need a 300MB ram-disk.
>
> Uh, won't the file system buffer all those files in memory (via DMA) at
> compile time, more efficiently than a ram disk?
No. The disk cache must send files back to the disk at some point,
often it will do so during the compile. Sometimes it will need to do
this during the compile - there are other reasons to do with
dependencies I can't remember right now.
> And parenthetically, could the file system not know the ram disk is in
> memory, and buffer everything _again_ in memory?
Probably, but I think OSes are smart enough to avoid this, usually
anyway.
> Note only one of those questions is stupid ;-)
>
> > But, this is never the problem. If you change something and a handful
> > of files recompile, that's ok however you do it. The problem comes
> > when many files need to be recompiled, or an entire rebuild is needed.
>
> Uh, you should partial rebuild hundreds of times more often than total
> rebuild, and you can schedule that to start unattended...
Yes, but having to schedule it is a bit of a pest. It's much easier if
it's fast-enough anyway.
.
- References:
- what kind of computer for programmer ?
- From: SAILOR99
- Re: what kind of computer for programmer ?
- From: gswork
- Re: what kind of computer for programmer ?
- From: Rob Thorpe
- Re: what kind of computer for programmer ?
- From: Johan \"MrDutchy\" van den Broek
- Re: what kind of computer for programmer ?
- From: Randy Howard
- Re: what kind of computer for programmer ?
- From: Rob Thorpe
- Re: what kind of computer for programmer ?
- From: Willem
- Re: what kind of computer for programmer ?
- From: Rob Thorpe
- Re: what kind of computer for programmer ?
- From: Randy Howard
- Re: what kind of computer for programmer ?
- From: Rob Thorpe
- Re: what kind of computer for programmer ?
- From: Phlip
- what kind of computer for programmer ?
- Prev by Date: Re: programming job market in bay area in US
- Next by Date: Re: puzzle
- Previous by thread: Re: what kind of computer for programmer ?
- Next by thread: Re: what kind of computer for programmer ?
- Index(es):
Relevant Pages
|