Alt::FFI::libffi - Perl Foreign Function interface based on libffi
version 0.09
This distribution provides an alternative implementation of FFI that uses FFI::Platypus which in turn uses libffi as the underlying implementation instead of ffcall. This may be useful, as the underlying implementation of the original FFI is ffcall and is no longer supported and is not actively developed.
libffi
ffcall
env PERL_ALT_INSTALL=OVERWRITE cpanm Alt::FFI::libffi
The connecting code is all pure perl, and not especially fast. You will likely get better performance porting your code to FFI::Platypus. When using the attach feature of FFI::Platypus, it will likely be faster than the original FFI implementation.
attach
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2016-2018 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alt::FFI::libffi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alt::FFI::libffi
CPAN shell
perl -MCPAN -e shell install Alt::FFI::libffi
For more information on module installation, please visit the detailed CPAN module installation guide.