Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #709

Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update

From Egan Ford <datajerk@gmail.com>
Newsgroups comp.sys.apple2, comp.sys.apple2.programmer
Subject Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update
Date 2013-04-13 18:41 -0600
Organization XMission http://xmission.com/
Message-ID <kkctvs$8jq$1@news.xmission.com> (permalink)
References <kjvuoa$5kg$1@speranza.aioe.org> <kk229b$r77$2@news.xmission.com> <kka6h4$o8e$1@speranza.aioe.org> <kkc7l1$erf$1@news.xmission.com> <679750542387586197.883194mjmahon-aol.com@news.giganews.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 4/13/13 5:06 PM, Michael J. Mahon wrote:
> Assembly language usually can achieve between 2x and 10x improvements in
> critical code over that produced by even excellent compilers.

That is something I've been tracking as well.  E.g. my Aztec C benchmark 
takes about 36 minutes to run on the 6502, and in assembly about 2 
minutes.  ~18x faster.  With 8088 Turbo C vs assembly, assembly it's 17x 
faster.  65816 Orca C vs assembly, assembly ~10x faster.  With the 
68000, performance starts to improve and the difference between Think C 
and assembly is about 6-7x.

> This advantage is blurred as the number and width of registers increases.
> In fact, for modern 32-bit architectures, compilers can often out-code
> assembly coders, because they are capable of large "optimization windows".

And given the complexity of modern system assembly isn't practical or 
fun.  But for 8-bit systems, it's perfect.

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update "Bill Buckels" <bbuckels@mts.net> - 2013-04-08 21:34 -0500
  Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update Egan Ford <datajerk@gmail.com> - 2013-04-09 17:47 -0400
    Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update "Bill Buckels" <bbuckels@mts.net> - 2013-04-12 18:48 -0500
      Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update Egan Ford <datajerk@gmail.com> - 2013-04-13 12:20 -0600
        Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update Michael J. Mahon <mjmahon@aol.com> - 2013-04-13 18:06 -0500
          Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update "Bill Buckels" <bbuckels@mts.net> - 2013-04-13 18:25 -0500
          Re: Announcing The Whole Meal Deal - AppleX Aztec C65 ProDOS 8 cross-compiler 2013 Update Egan Ford <datajerk@gmail.com> - 2013-04-13 18:41 -0600

csiph-web