Hi Ruud, On 2018-07-06 08:26, Baltissen, GJPAA (Ruud) wrote: > Hallo MichaĆ, > >> I would definitely advise against allocating a fixed length for strings. > But that would mean I have to implement "garbage collection". > > >> What I would do is to store the program text growing upwards from the bottom of memory, and the variables growing downwards from the top of memory. > I certainly have a look at it. > You could implement a simple heap memory manager. I found this very clear explanation: https://www2.cs.arizona.edu/~collberg/Teaching/553/2011/Handouts/Handout-6.pdf /HansReceived on 2018-07-06 09:02:04
Archive generated by hypermail 2.2.0.