Sujet : Re: Avoid treating the stack as an array [Re: "Back & Forth" is back!]
De : mhx (at) *nospam* iae.nl (mhx)
Groupes : comp.lang.forthDate : 16. Sep 2024, 19:58:22
Autres entêtes
Organisation : novaBBS
Message-ID : <e2d54b78169fdb62b22cacd72aee1f2d@www.novabbs.com>
References : 1 2 3 4 5 6
User-Agent : Rocksolid Light
On Mon, 16 Sep 2024 17:37:19 +0000, Anton Ertl wrote:
[..]
Yes, that's why Gforth does not support ADDR for locals by default:
iForth supports getting the address of any type local with " 'OF a ".
This indeed has a negative effect on execution time.
The experimental PARAMS| a | construct does not support 'OF and tries
to keep integer locals in a register. It is not successful when there
are too many locals. Maybe I'll repair that with the next major
revision.
-marcel