On iOS and other platforms ffi_closure_alloc can return NULL and there's not much you can do about it
I am gonna trace calls to ffi.cast, put them in a list (runtime), then use that list to codegen the C functions (compile time)
I was wondering if anyone has tried something like this or if that approach seems wrong. Generating the list at runtime can be brittle
Thanks
On iOS and other platforms ffi_closure_alloc can return NULL and there's not much you can do about it
I am gonna trace calls to
ffi.cast, put them in a list (runtime), then use that list to codegen the C functions (compile time)I was wondering if anyone has tried something like this or if that approach seems wrong. Generating the list at runtime can be brittle
Thanks