E-xyza / zigler

zig nifs in elixir
MIT License
758 stars 40 forks source link

AutoAllocator, garbage collection for your nifs #126

Open ityonemo opened 4 years ago

ityonemo commented 4 years ago
ityonemo commented 4 years ago

in general, this should be able to be called for any function, not just long nifs.

ityonemo commented 4 years ago

this should be tied with refactoring beam.zig (https://github.com/ityonemo/zigler/issues/144)

ityonemo commented 3 years ago

switch to supporting this as beam_allocator.

ityonemo commented 1 year ago

not generally good, there are other allocators that can be tasked for this, compositionally.