Closed GoogleCodeExporter closed 9 years ago
Original comment by adrianqu...@gmail.com
on 22 Apr 2009 at 1:54
More data; the following program works (on booze.cs.utexas.edu) with N=18, but
not N=19.
val N = 18
site (-) = orc.lib.math.Sub
def threads(0) = stop
def threads(n) = n-1 >n'> ( threads(n') | threads(n') )
threads(18) ; signal
Original comment by adrianqu...@gmail.com
on 22 Apr 2009 at 3:06
After much investigation I'm pretty sure that there's nothing wrong with the
interpreter except that it's slow. The apparent "infinite loop" is just the
result of
the fact that we evaluate tokens breadth-first, so at the deeper levels of the
tree,
the interpreter has to iterate through the hundreds of thousands of threads
several
times before any of them make visible progress. It looks like nothing is
happening
but if you let the program run long enough it makes progress.
Original comment by adrianqu...@gmail.com
on 22 Apr 2009 at 11:15
Original issue reported on code.google.com by
adrianqu...@gmail.com
on 22 Apr 2009 at 1:54