Loading…
Attending this event?
TPRC 2024 in beautiful Las Vegas, Nevada! June 25-27th.
Tuesday June 25, 2024 1:30pm - 2:20pm PDT
Practical Perl bindings with FFI::Platypus. We will see two real world examples of large C libraries and one smaller Rust one. This will inform a discussion of how Perl bindings could and maybe should evolve in Perl.Writing bindings for libraries for Perl typically falls on the Perl developer who needs it first. As with anything Perlish there are lots of ways to do this (XS, SWIG, FFI, etc). There are some intrinsic advantages and challenges for using FFI::Platypus in some cases, and I will demonstrate this with two large C library bindings: libarchive and libcurl. Platypus was designed from the beginning to play nicely with non-C programming languages so we will also poke around with a Perl + Rust binding to see how that differs.

Once we have all of that under our belt I think it is time to talk about the challenges writing library bindings for Perl, both technical and political, and how we might start to address them.

Audience: Intermediate["Perl", "FFI", "bindings"]
Speakers
avatar for Graham Ollis

Graham Ollis

Staff Software Engineer, Fastly
Graham Ollis, known as plicease on the internet, is a Staff Software Engineer at Fastly.  In his free time he enjoys film photography, vintage computing and leads the open source Projects Platypus and Alien::Build... Read More →
Tuesday June 25, 2024 1:30pm - 2:20pm PDT
1: Apollo 5/6/8
Feedback form is now closed.

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link