gforth  

[gforth] keeping code and data in the same segment

Joel Reymont
Mon, 19 Jan 2009 04:52:28 -0800

I heard that gforth is 2x faster than swiftforth on Mac OSX because sf keeps code and data in the same segment. This, apparently, results in a flush of the instruction cache whenever data gets written.

Since gforth is just as self-modifying as sf, how does gforth work around this issue?

Does gforth keep code and data separate?

        Thanks, Joel

---
http://twitter.com/wagerlabs





---------------------------------------------------------------------
To unsubscribe, e-mail: gforth-unsubscr...@chaossolutions.org
For additional commands, e-mail: gforth-h...@chaossolutions.org