Sujet : Re: Avoid treating the stack as an array [Re: "Back & Forth" is back!]
De : no.email (at) *nospam* nospam.invalid (Paul Rubin)
Groupes : comp.lang.forthDate : 18. Sep 2024, 06:39:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <874j6d1pw8.fsf@nightsong.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
dxf <
dxforth@gmail.com> writes:
...Moore has never changed his position, switched his tune, introduced
locals and mega-compilers - as the latter do today in an attempt to
maintain the interest, maintain a following.
Weren't we just quibbling about small (few percent) efficency
differences between using locals and using stack words? You get far
greater efficiency gains by using optimizing compilers. If you feel
like the optimizing compiler is needless bloat and want to use an
interpreter instead, that's fine, it just means that (like most of us),
you've found that code speed isn't that important for whatever you're
doing. Stephen Pelc posted a few days ago that in the past decade, his
customers have stopped asking for faster code.
I think that is a better takeaway than "well we can give up the
optimizing compiler, because using stack words instead of locals
recovers a few percent of the lost speed".