Displaying 2 results from an estimated 2 matches for "copylib".
Did you mean:
copyi
2020 Apr 15
1
Re: [PATCH nbdkit UNFINISHED] Add the ability to write plugins in golang.
...;
> > Why did you choose this approach ?
>
> Do you mean the design of constructing the .so file directly using
> --buildmode=c-shared? I wasn't aware there was any other way to do
> it. Should we use some kind of module loading instead?
No, I was mostly meaning the "copylib" approach to plugins, where the
plugin author owns the whole stack.
I was just thinking of what the "ideal" would be from a Go programmers
POV, and that I think involves the least possible exposure to CGo and
the native nbdkit APIs.
> > Looking at the code below there's t...
2020 Apr 15
2
Re: [PATCH nbdkit UNFINISHED] Add the ability to write plugins in golang.
On Fri, Apr 10, 2020 at 02:51:52PM +0100, Richard W.M. Jones wrote:
> Similar to C, OCaml and Rust, this is not a plugin per se. Instead
> it's more of a method and set of tests around writing plugins in
> golang. They are standalone programs that compile into shared objects
> that nbdkit can then load (so there is no "go plugin" between nbdkit
> and the user plugin,