I'm just trying to gather some general information, as I'm looking to improve performance of ActiveModelSerializers.
I've also never written a native extension before, but have looked at some C extensions and Rust extensions.
My Questions:
- Has this been done? (writing a crystal native extension in a ruby gem?)
- How does interacting with ruby objects / structures work in crystal? (Does there need to be any sort of marshalling or anything for communication between the two languages? )