Re: [go-nuts] Is there a Go equivalent to Python's ctypes library?

2023-11-21 Thread 'Salih Muhammed' via golang-nuts



I know that there's purego https://github.com/ebitengine/purego but not
totally sure about it can preform without a compiler.

--
Regards,
Salih

-- 
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/87bkbn2xpv.fsf%40gmx.com.


[go-nuts] Is there a Go equivalent to Python's ctypes library?

2023-11-21 Thread 'Mark' via golang-nuts
I would like to be able to access a dynamic C library (and ideally C++), 
i.e., `.so` or `.dll` _without_ using cgo, i.e., without needing a compiler 
on the target platform.
Python provides a `ctypes` module with this facility. Is there an 
equivalent for Go?

-- 
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/f7f9a1e1-51d2-4144-9cec-d0dcaa31411en%40googlegroups.com.