Blog

Updates, technical insights, and database engineering stories

11 min read

Calling a Rust library from Go with CGO_ENABLED=0

Stoolap is a database engine written in Rust. We ship it as a shared library so non-Rust users can call it. When I wrote the Go driver for it, I wanted the driver to work with CGO_ENABLED=0. This p...