[BLOG] A Tour of the Living Library -- A Safer FFI

Hi there,

I’ve written a new blog post on the living library I announced a few days ago. Please give it a read if you’re interested in safe use of Ctypes, or otherwise need lifetime management in OCaml.

Would love to hear your views in this thread!

Matt

1 Like

I have discovered a mistake in the blog post, I will try to fix it a bit later, but basically there is a use-after-free error in the final example if you were to access the global_ptr_ptr again.