On Dienstag 20 Mai 2008, Sergey Plis wrote:
> Hi,
>
> Is there a way with bigforth to reserve (and take advantage of) more
> than 2 Gigabytes of memory for the heap?

Not really. bigFORTH uses the sign of addresses for the memory allocation. 
2GB is the maximum it can handle.

> I understand bigforth is only 32 bit system, but this seems like 4G of
> memory should be available for addressing. Is there a workaround that
> allows me to use more memory? I am working with particle filters and
> need to store tons of them in memory (on disk is prohibitively slow) to
> perform statistics on them.
>
> Another option for me seems to move to gforth which should support all
> memory a 64bit system provides. But is there a simple way to convert my
> bigforth specific library bindings to gforth? Callbacks and
> everything... I doubt :(

The libffi.fs bindings are very close to the way bigFORTH's bindings work.

-- 
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