Hi,

I'm trying to see if regions is appropriate for FFI interfaces. I need to 
allocate some sequences and pass it to FFI functions and later, dealloc them. 
Currently, GC_Ref and GC_Unref is an option, but still a bit unintuitive and 
have to be very careful for every allocation. With regions, theoretically I can 
allocate a bunch of stuff from the same region and later free all of it in one 
call.

Reply via email to