DOCUMENTATION

Memory Management
(ply-system.h)

[Documentation coming soon.]

VirtualMemory Variant Heap String StringView MutStringView Array ArrayView FixedArray Set Map Owned Reference RefCounted ObjectOwnership AssociativeMaps Strings Arrays Variants
  • Virtual Memory: Map virtual address space to physical memory pages.
  • Heap: Plywood's built-in heap. All dynamic allocations in Plywood go through here.
  • Strings: String classes suitable for UTF-8 or arbitrary binary data.
  • Arrays: Class templates providing resizable arrays.
  • Associative Maps: Resizable collections supporting fast hash lookup.
  • Variants: Variant types similar to tagged unions with safety checks.
  • Object Ownership: Reference-counting and owning pointers.