Roussillon : Memory
This crate provides some structs and trait to manage memory and references for an abstract language.
Traits
AllocatorDereference
Structures
Region: a vector containingValueCells,Area: a catalog of namedRegions,DroppableRegion: aRegionwhich can beactiveoudropped.
Heap: a memory structure (generation-arena like) with :HeapReference: aDataValuewhich contains aReferenceto aRegion's generation in aHeap.HeapReferenceType: theDataTypeof aHeapReferencevalue.
Stack: a FIFO memory structure with :StackReference: aDataValuewhich contains aReferenceto aRegionin aStack.StackReferenceType: theDataTypeof aStackReferencevalue.
License
(c) 2024 Sébastien Geldreich
This work is published under the MIT License.