Fun with Cross-Platform Shared Libraries
I have a little project called
Parrot::Embed. It's a Perl 5
extension that makes Parrot
available to Perl 5 programs.
Parrot makes a shared library called libparrot. The actual
parrot executable is usually just a little program which uses
this shared library. This is very handy for my extension; I can use all of
the public functions in the shared library myself.
Actually building this code is trickier than it should be, however.