On this article"
https://inconshreveable.com/04-30-2014/cross-compiling-golang-programs-with-native-libraries/
it says "If you want to use any C libraries"

But, all operating systems today (relevant ones) are written in C and their 
tools are in C (DSO's, DLL's) so as far as I can see, you are always using 
C libraries at all times... because the operating system dll's/dso's that 
you pull in to your program are written in C....

Apparently GoLang has rewritten a lot of things in Go itself and avoided C 
where possible, but to me this still does not make a sense...

"If you want to use any C libraries"....  Don't all programs use C 
libraries... When I use sysinternals procmon a windows Go exe uses tens 
(almost hundreds) of OS c libraries. On linux/bsd I have not checked, but 
you cannot possibly get away with doing anything without using a C 
libraries on win/bsd/linux.

So this needs to be clarified what "use any C libraries" actually means. 
Does it mean calling them more directly yourself?

With Regards...
(when cross compiling is no longer a nightmare but a pleasant dream)

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to