🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.forth
Article #113

re: FORTH benchmarks

#113
From: anthro
Date: Thu, 12 Jul 1984 05:59
20 lines
1482 bytes
Subject: Re: FORTH efficiency
References: lanl-a.9623, <2867@ecsvax.UUCP>
News Groups: net.lang.forth

<>
A further note:  'real' FORTH programs have very few constructs like
the example       A @ B @ + C !
FORTH applications make little use of variables, which are intended for
global bookkeeping only.  Keeping data flows on the stacks where they
belong speeds up operations considerably.  More reasonable/comparable
source for the above example is       +
which accomplishes all that need be done in the usual case.

FIG updates their literature rarely, but it was admitted some 8 years ago
that someone had gotten carried away on the speed claim relative to assembly.
It is noteworthy that once the names are disposed of, any moderatly long
program will be shorter than a hand coded assembly version (try to recode
some of the HL forth in-line sometime).  This includes the runtime overhead.

Mike Fischer   anthro@ut-ngp
Technical Details
Message-ID: <742@ut-ngp.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!hao!seismo!ut-sally!ut-ngp!anthro

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site ut-ngp.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!hao!seismo!ut-sally!ut-ngp!anthro
From: anthro@ut-ngp.UUCP
Newsgroups: net.lang.forth
Subject: re: FORTH benchmarks
Message-ID: <742@ut-ngp.UUCP>
Date: Thu, 12-Jul-84 01:59:49 EDT
Article-I.D.: ut-ngp.742
Posted: Thu Jul 12 01:59:49 1984
Date-Received: Sat, 14-Jul-84 13:14:16 EDT
Organization: Comp. Center, Univ. of Texas at Austin
Lines: 20