Path: utzoo!dciem!array!colin From: colin@array.UUCP (Colin Plumb) Newsgroups: comp.arch Subject: Re: It looks like he's at it again! Message-ID: <182@array.UUCP> Date: 15 Jul 90 01:47:07 GMT References: <2328@l.cc.purdue.edu> <1990Jul10.072443.4844@cs.UAlberta.CA> <9896@celit.fps.com> <2338@l.cc.purdue.edu> <9911@celit.fps.com> <24358@estelle.udel.EDU> Organization: Array Systems Computing, Inc., Toronto, Ontario, CANADA Lines: 13 In article <24358@estelle.udel.EDU> new@ee.udel.edu (Darren New) writes: > Sure. Any inner-interpreter type of code is easiest in assembler. Things > like Forth threading are harder to do in C than assembler because Forth > assumes is really big on treating addresses as data and vica versa. In > addition, it is usually only 3-6 instructions to do an inner-interpreter > step and the more speed you can get, the better. -- Darren Well, the Forth inner interpreter is roughly analagous to a C compiler's entry and exit code, so writing it in assembler is to be expected. As you said, it's 3-6 instructions (I think I needed 3 when I did it on a VAX). Not exactly a large chunk of code. -- -Colin