4 ms·
This is using purego which is still using FFI, it is dynamically linking the C libs so you still have the same shared library issues. You don’t have to setup a
by cle 2y ago
This is using purego which is still using FFI, it is dynamically linking the C libs so you still have the same shared library issues. You don’t have to setup a C compiler toolchain though which is nice.
- Onavo 2y agoWhy don't they just compile to C to Go like modern c does for SQLite?
- masklinn 2y agohttps://news.ycombinator.com/item?id=42271142 https://news.ycombinator.com/item?id=42271142
- Onavo 2y agoI mean why don't they do it for the source library too? There are very few operations in C that can't be done in Go (mostly inline assembly and some pointer manipulation) under a standard userland assumption.