www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/05/22:41:01

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp,rec.arts.int-fiction
Subject: Re: The Frotz interpreter - ASM problems!
Date: Fri, 05 Mar 1999 11:51:21 -0800
Organization: Alcyone Systems
Lines: 24
Message-ID: <36E035B9.396187EF@alcyone.com>
References: <36DD8703 DOT 248D AT my-dejanews DOT com> <36DDA2C1 DOT C9C627FA AT alcyone DOT com> <36DF4EA4 DOT 72F2 AT my-dejanews DOT com>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.34 i686)
X-Accept-Language: en, eo
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Stuart Moore wrote:

> Excellent question. Interpreting the Z-Machine's not >that< demanding
> on
> PC power, is it?

One need only resort to assembly in _extreme_ cases, say, where 90% of
the CPU power is being expended in a tiny section of very essential
code, say for a graphics engine -- but even then it's often not
_required_, it will just speed things up.

I am puzzled to understand why someone would use assembly in a Z machine
interpreter, unless they simply already had a chunk of assembly code to
do something that they didn't know how to do in C.  Even then it seems
like a bizarre reason to put the dependency on assembly in there.

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT members DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
             \
            / No man is more cheated than the selfish man.
           / Henry Ward Beecher

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019