On Mon, Oct 14, 2024 at 9:16 PM 'Brian Candler' via golang-nuts
<golang-nuts@googlegroups.com> wrote:

> Or it could be like https://pkg.go.dev/modernc.org/sqlite, which took the 
> Sqlite C source code and transpiled it into pure Go.

It's both, depending on target. The targets supported by
ebitengine/purego[0] link dynamically to the C libs at runtime. The C
dynamic libs are embedded in the executable.

The remaining ones are transpilled to pure Go and are doing syscalls.

  [0]: 
https://github.com/ebitengine/purego?tab=readme-ov-file#supported-platforms

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-X4Zsy4bfgSL-vTgwdXUwCt7rpqM956PmhqbEqKeX-Pxw%40mail.gmail.com.

Reply via email to