Prev: Best way to learn ... need some help
Next: A tool that suggests optimized logic for a piece of code/module/function
From: Walter Banks on 28 Jan 2010 09:03 bigbrownbeastie wrote: > Modern compiler optomise for code speed or code size. > > Would not be long till you also see 'power use' optomisation or > something along these lines. The very first high level language that Byte Craft implemented was specifically designed to optimize for power consumption. Regards, Walter.. -- Walter Banks Byte Craft Limited http://www.bytecraft.com
From: André Gillibert on 28 Jan 2010 14:29 toby <toby(a)telegraphics.com.au> wrote: > On Jan 11, 3:07 pm, karthikbalaguru <karthikbalagur...(a)gmail.com> > wrote: > > Hi, > > There are certain editors that highlight > > the syntax/color for datatypes/variables > > or comments etc. > > > > Similarly, > > Is there a tool for C language that > > could suggest an optimized/alternate > > programming logic for the function that > > is written ? > > IMHO the most effective output it could make is: "Are you really sure > the best tool for this task is C?" > That's called an "optimizer" and is built into any good C compiler... It doesn't even need to suggest a change. It just does it internally, without modifying the source code. PS: Cross-posting to 5 newsgroup is evil. Follow-up to comp.lang.c. -- André Gillibert
From: karthikbalaguru on 28 Jan 2010 20:04
On Jan 28, 7:03 pm, Walter Banks <wal...(a)bytecraft.com> wrote: > bigbrownbeastie wrote: > > Modern compiler optomise for code speed or code size. > > > Would not be long till you also see 'power use' optomisation or > > something along these lines. > > The very first high level language that Byte Craft implemented > was specifically designed to optimize for power consumption. > Interesting ! Karthik Balaguru |