🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2403

Re: languages which allow the introduction of new operators

#2403
From: Mike Meyer
Date: Fri, 13 Nov 1992 19:44
20 lines
1628 bytes
In <Bxns5v.5uJ@mentor.cc.purdue.edu>, hrubin@pop.stat.purdue.edu (Herman Rubin) wrote:
> In article <17434@mindlink.bc.ca> Nick_Janow@mindlink.bc.ca (Nick Janow) writes:
> >Why do you object to the use of a stack machine (on which those operations
> >are fast)?  If a stack language on a stack machine will run n times as fast
> >as a non-stack language on a non-stack machine of equal technology level, why
> >not use a stack machine?
>
> HOW can a stack machine be fast?  One of the features of an efficient program
> is to have the quantities needed available in registers.

Not quite - delete "registers", and replace it with "fastest available
memory". Most architechtures put that memory in a seperate address
space with special address modes, but neither is required.  There are
machines where the registers are just a particularly fast piece of
ram; there are machines where that address may be set by the
programmer; there are even machines that map the top of the stack into
high-speed memory. The latter would be quite appropriate for a being a
fast stack machine, even though it wasn't designed for that.

	<mike
Technical Details
Message-ID: <mwm.2mpj@contessa.palo-alto.ca.us>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!decwrl!decwrl!contessa!mwm
References: <17434@mindlink.bc.ca> <Bxns5v.5uJ@mentor.cc.purdue.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!decwrl!decwrl!contessa!mwm
From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
Subject: Re: languages which allow the introduction of new operators
Newsgroups: comp.lang.misc
Distribution: world
References: <17434@mindlink.bc.ca> <Bxns5v.5uJ@mentor.cc.purdue.edu>
X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
Message-ID: <mwm.2mpj@contessa.palo-alto.ca.us>
Date: 13 Nov 92 11:44:30 PST
Organization: Missionaria Phonibalonica
Lines: 20