Allocate data on the heap with Heap<T> and automatic cleanup.
heap(value): Allocate value on the heapHeap<T>: Smart pointer type with ownership*boxed: Dereference to access value- RAII: Automatic cleanup when out of scope
- Large data structures
- Data that needs to outlive its creating scope
- Dynamic-sized data
- Recursive data structures
oxide run main.ox