From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd7c9,a9f1c8b26ac59275 X-Google-Attributes: gidfd7c9,public X-Google-Thread: 1164f8,a9f1c8b26ac59275 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,c9d77899e59ab061 X-Google-Attributes: gid102b75,public From: cg@myrias.com Subject: Re: Threaded code on the PDP-11 (Re: Is RISC dead? (was: Re: K7's FP performance inches past P-III's)) Date: 1999/06/02 Message-ID: #1/1 X-Deja-AN: 484896107 Sender: cg@Q References: <374F6349.41C6@NcOoSmPpAaMq.com> <7itaj3$9e7$1@rocky.jgk.org> <7j2n2b$63i$1@davinci.thp.univie.ac.at> <7j3ekv$clr@web.nmti.com> Organization: Myrias Software Corp. NNTP-Posting-Date: Wed, 02 Jun 1999 11:38:48 EST Newsgroups: comp.arch,comp.sys.dec,comp.lang.forth peter@baileynm.com (Peter da Silva) writes: > I remember that! It was cute, I could write Forth that would kick Fortran's > pants, even though FIG-Forth had an extra indirection in it's interpreter. > > IIRC, Fortran used: > > JMP (R1)+ It's been a long time, but didn't the use of threaded code allow them to squeeze more code into the machine? Some of the Fortran programs from mainframe land were fairly large. The only actual contact I had with that stuff was with the DECUS version of PDP-11 Adventure, which was written in that Fortran. Even with the threading, it needed an overlay as well. I got into the guts of it because I made it run under early UNIX on a PDP-11. (Emulate the RT-11 traps). > I think the big difference was Forth had more complex primitives that got > more work done per trip through the interpreter. Could be. There were Fortran ones for file I/O, but I also recall there being some real code intermixed with the threaded stuff. I could be mistaken, however. -- [Don't design inefficiency in - it'll come in the implementation] Chris Gray cg@myrias.com Myrias Software Corp. (780) 435-1000 http://www.myrias.com