Re: goto: it's conceded

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:
> 
> Kat wrote:
> > 
> > Derek Parnell wrote:
> > > 
> > > Kat wrote:
> > > 
> > > > What is the depth limit to nested for/while loops in Eu?
> > > 
> > > I think it is only limited by available memory. There is no hard-coded
> > > limit.
> > 
> > When you say "available memory", would that be 1Kbytes local stack space per
> > procedure, or 64k global stack space, or the 2 gigabytes the OS will let the
> > program have? Or somewhere in between that's undefined?
> > 
> > Yes, real world, i hit TurboPascal's stack limit with nested loops.
> > 
> > Kat
> 
> Hmm. Not sure where the 1K and the 64k numbers came from, but I don't think
> that Euphoria's loops, at least in the interpreter, rely upon the machine
> stack.
> 
> So I choose what's behind door number three -- the total process memory.
> 
> I thought I had seen the 262144 number in some build files, but I couldn't
> find
> it when researching your answer. I definitely saw the numbers 49152 and 131072
> in there though...

Everyone who has done machine coding on a C-64 knows 49152 is a warm reboot, so
that's bad, and it's how much ram in a C-128..... and 131072 is how many
processors in a Blue Gene/L superputer.. I don't know, perhaps Euphoria was meant
to run on these computers too, and it's being withheld from us?

Kat

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu