On Mon, Sep 26, 2022 at 7:22 AM Jessica Park
<outsider.help....@gmail.com> wrote:
>
> When java...
> can import .jar ... in this case, we call dynamic link..
>
> How about golang?
>
> Is it dynamic linking or static linking?

A pure Go program that does not use cgo will use static linking on
most operating systems.

A mixed Go/C program that does use cgo will use dynamic linking on
most operating systems.

> I need clear information.

A more precise answer will require more details as to exactly what you
are doing and what operating system you are using.

Ian

-- 
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/CAOyqgcVDcwfsNhNCmfo8ZN2FwhA4bU_4PjSqOUXLep%2BbUJ7D-g%40mail.gmail.com.

Reply via email to