|
|
|
|
|
by maxmcd
987 days ago
|
|
Can you expand more on the ffi piece? Using CGO has never been fun. Will this expose threads and allow for C interop that is easier to reason about? Can I dream of using this version of Go for all of my "wrap this C lib in a nicer Go experience" use-cases? |
|
The feature of generating go packages from C in `ffigen` still needs significant work to be done (mostly dealing with C calling conventions on different platforms), and the generated go package only works with dynamic libraries (as it uses the pragma `go:cgo_import_dynamic`).