🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #1364

Dynamic memory?

#1364
From: Emery Berger
Date: Sat, 02 Feb 1991 00:50
27 lines
1560 bytes
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
Technical Details
Message-ID: <162@syrian.cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!emery

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!emery
From: emery@cs.utexas.edu (Emery Berger)
Newsgroups: comp.sys.transputer
Subject: Dynamic memory?
Keywords: dynamic memory, PC, occam
Message-ID: <162@syrian.cs.utexas.edu>
Date: 2 Feb 91 00:50:21 GMT
Followup-To: poster
Organization: U. Texas CS Dept., Austin, Texas
Lines: 27