Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread tlaronde
On Mon, Oct 29, 2012 at 11:58:23PM +, Charles Forsyth wrote: > > But suppose the standard does not evidently aim to be understood, in the > generally understood meaning of "understood", > or there are more words in the standard than will ever appear in the > programmer's own programs? Do you

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread tlaronde
On Mon, Oct 29, 2012 at 04:26:52PM -0700, Bakul Shah wrote: > > Best way to save developer time is to program in a HLL and not > worry about bit fiddling. C is not a HLL. The HLL will have to have a compiler. If the compiler is, finally, machine instructions, how does one guarantee that it does e

[9fans] Still a few more days to submit papers for iwp9 - and more than a week to submit WIP/Demos/Posters :)

2012-10-30 Thread Eric Jul
Still time to contribute ... Sincerely Eric

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread Richard Miller
> Best way to save developer time is to program in a HLL and not > worry about bit fiddling. C is not a HLL. C was created as a language to do bit fiddling in - a tool for writing assembly language a bit more productively than doing it by hand. The original Unix C compiler was a tool for writing

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread dexen deVries
On Tuesday 30 of October 2012 10:26:52 Richard Miller wrote: > > Best way to save developer time is to program in a HLL and not > > worry about bit fiddling. C is not a HLL. > > C was created as a language to do bit fiddling in - a tool for writing > assembly language a bit more productively than

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread erik quanstrom
On Mon Oct 29 23:17:25 EDT 2012, cthom.li...@gmail.com wrote: > On 29 October 2012 23:06, Bakul Shah wrote: > > > > > gcc etc. are used to deliver a lot of code that is used in > > real word. And without a standard there would've been lot > > less interoperability and far more bugs. > > > Mos

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-30 Thread arnold
> > > gcc etc. are used to deliver a lot of code that is used in > > > real word. And without a standard there would've been lot > > > less interoperability and far more bugs. This remains true. It is possible and not that difficult to write code that can be successfully and correctly compiled b

[9fans] resize

2012-10-30 Thread erik quanstrom
i found a little bug today with one-pixel tracking images. (yahoo.co.jp, for instance.) i don't think this program is in the distribution. ; diffy -c resize.c /n/dump/2012/1030/sys/src/cmd/resize.c:17,24 - resize.c:17,24 bpp = src->depth/8; bpl = src->width*sizeof(int); -