On Montag 19 Januar 2009, Joel Reymont wrote:
> Does gforth keep code and data separate?

Yes.  Gforth's dynamic code generator uses a separate memory area to compile 
concatenated primitives.  I don't know about benchmark results, it probably 
depends a lot on the CPU and the benchmark code how much the difference is.

Something like

variable data
: some-word ... data ! ... ;

is very likely affected by this problem, but when you put enough space 
between data and the word that's modifying it, it works well.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to