develooper Front page | perl.perl5.porters | Postings from August 2018

[perl #133474] Document suggestion to use libffi for simple librarybindings

Thread Previous
From:
Dan Book
Date:
August 24, 2018 23:53
Subject:
[perl #133474] Document suggestion to use libffi for simple librarybindings
Message ID:
rt-4.0.24-22016-1535154834-457.133474-75-0@perl.org
# New Ticket Created by  Dan Book 
# Please include the string:  [perl #133474]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133474 >


Perl XS is a vastly complex tool that isn't always needed where libffi
interfaces may have a significantly lower barrier of entry for certain
tasks. This is an attempt at pointing users to this option in perlxs.
(Patch will be attached in next message)

For simple bindings to C libraries as well as other machine code libraries,
consider instead using the much simpler
L<libffi|http://sourceware.org/libffi/> interface via CPAN modules like
L<FFI::Platypus> or L<FFI::Raw>.

-Dan


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About