Categorygithub.com/Devoter/dlplugin_multilib_example
modulepackage
0.0.0-20220124140452-45eb8e394b6b
Repository: https://github.com/devoter/dlplugin_multilib_example.git
Documentation: pkg.go.dev

# README

dlplugin_multilib_example

This example demonstrates a loading multiple dynamic libraries (C++ and Go) with the same interface into the single project.

Additionally, you may want to compare a solution with hashicorp/go-plugin-based and standard plugin-based examples. See gRPC, net/rpc, and plugin links.

Building

cd cppplug && make && cd ..
cd goplug && make && cd ..
make

Running

./multilib -plug1 cppplug/libcppplug.so -plug2 goplug/libgoplug.so
# or
./multilib -plug1 goplug/libgoplug.so -plug2 cppplug/libcppplug.so

Benchmarking

At first, build plugins.

go test -benchmem -bench=.

License

LICENSE

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author