And I thought that this was the last time I needed to write a memory manager. Turns out I was wrong. What happened was that I finally decided to sit down and write that forth interpreter that I've been meaning to. While I was happily writing the code for the interpreter, I suddenly realised that I needed to handle memory for variables as well as words for the interpreter.
The realisation that I needed a memory manager was almost immediate.
So I guess it is time to roll up my sleeves and write that memory manager all over again. This time, hopefully it is much simpler due to the way the alignment works in my virtual machine for forth (alignment is by cells, which is different from bytes).
No comments:
Post a Comment