[comp.sys.transputer] Dynamic memory?

emery@cs.utexas.edu (Emery Berger) (02/02/91)

Thanks to all who replied regarding my previous posting (Kyoto
Common Lisp).  Unfortunately, there does not appear to be an
implementation available for our hardware.  So, on to plan 2.

  I'm trying to implement a somewhat complex program in occam,
and have hit probably every nasty aspect of the language in doing so.
My most pressing concern is the lack of a facility for dynamic
memory allocation.  I will be playing with quite a few "linked-lists"
(now in arrays) and am loathe to declare arbitrary limits on the size
of these lists.  I have considered a number of ways to get around
this problem, all of them hacks (e.g., declaring all of memory as
an array of bytes, RETYPE-ing memory as needed, and essentially writing
a memory manager).

  I imagine that a great many people have already faced this problem
and evolved solutions, and would be most interested to hear them.  I'm
looking for a "best" way to get around this enormous obstacle.

P.S. If anyone from Inmos is listening, I have QUITE a few suggestions for
the language specification for occam 3!! :-)

-- 
---
Emery Berger (emery@cs.utexas.edu)
Applied Research Laboratories
University of Texas at Austin