Y
Hacker News
new
|
ask
|
show
|
jobs
by
hamandcheese
984 days ago
Would it be possible to link a pure go codebase to pre-compiled sqlite binaries and not need to worry about cgo when cross compiling?
1 comments
ncruces
983 days ago
The dynamic linking story in Go is complicated at best, particularly if you shun cgo, because you commonly need to cgo into ld.so to use dynamic linking.
But there's this if you wanna try:
https://github.com/ebitengine/purego
link
But there's this if you wanna try: https://github.com/ebitengine/purego