Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!kanaga.switch.ch!switch.ch!newsfeed-00.mathworks.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.lisp,comp.lang.python,alt.usage.english Subject: Re: English Idiom in Unix: Directory Recursively Date: Sat, 21 May 2011 15:34:18 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 22 Message-ID: References: <87aaekoab7.fsf@kuiper.lan.informatimago.com> <1228144c-303f-4c38-8ecb-8a7ad79fb3ab@s16g2000prf.googlegroups.com> NNTP-Posting-Host: dsl.comtrol.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: reader1.panix.com 1305992058 3852 64.122.56.22 (21 May 2011 15:34:18 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Sat, 21 May 2011 15:34:18 +0000 (UTC) User-Agent: slrn/pre0.9.9-102 (Linux) Xref: x330-a1.tempe.blueboxinc.net comp.lang.lisp:3607 comp.lang.python:5925 On 2011-05-19, Peter Moylan wrote: > In the microcontroller world, the big performance hits come from the > fact that the only available compilers are for C and sometimes C++. > (And nobody uses assembly language except for the very little jobs.) > The nature of the C language prevents compilers from doing optimisations > that are standard in compilers for high-level languages. Most C > compilers will, for example, always pass parameters on the stack, > despite the generous supply of registers available in newer hardware. I've been doing microcontroller stuff for 25+ years, almost all in C, and I don't think I've never seen such a compiler. Even on the register-starved 6800 architecture, the first parameter was passed in a register. On architectures with more registers (H8, MSP430, ARM, etc.) It's usually the first 3 or so parameters that are found in registers. -- Grant Edwards grant.b.edwards Yow! Gee, I feel kind of at LIGHT in the head now, gmail.com knowing I can't make my satellite dish PAYMENTS!