MasonProtter / Bumper.jl

Bring Your Own Stack
MIT License
152 stars 6 forks source link

Composing with distinct allocators #7

Closed mkitti closed 10 months ago

mkitti commented 1 year ago

In ArrayAllocators.jl, I made some bindings for several allocations functions:

  1. posix_memalign
  2. VirtualAlloc2
  3. VirtualAllocEx
  4. numa_alloc_onnode
  5. numa_alloc_local

What would be a good way to compose ArrayAllocators.jl and Bumper.jl?

MasonProtter commented 10 months ago

These packages are doing pretty different things, it doesn't seem like ArrayAllocators.jl has any deallocation mechanisms, and is concerned with heap style allocation, whereas Bumper.jl is essentially an alternative stack.