<div dir="auto">Cool! Should be useful for other languages to see what is possible with libffi</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 20, 2017 3:23 PM, "Ari Jolma" <<a href="mailto:ari.jolma@gmail.com">ari.jolma@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Folks,<br>
<br>
I've been experimenting with the Perl module FFI::Platypus, to create a Perl interface to GDAL with its help(1) and it's progressing well. FFI::Platypus itself uses libffi, which is a portable interface library. That, and Alien::gdal, which is a Perl module to use GDAL in a system that has Perl, allow some significant simplifications and streamlining for the Perl bindings.<br>
<br>
I can imagine those leading to the retirement of the Swig based Perl bindings at some point (like GDAL 3.0) and having only a single distribution of Perl GDAL bindings that does not live in GDAL source tree and is distributed through CPAN. In the meantime the Swig based bindings will live in GDAL source tree and a copy of that with a modified configuration system (that uses the Alien::gdal) in github(2) + CPAN.<br>
<br>
I don't think I'm aiming at 100% similar API with the FFI interface than Geo::GDAL since in the latter has accumulated some undesirable things over the years. Anybody interested in the new API is welcome to collaborate.<br>
<br>
Best regards,<br>
<br>
Ari<br>
<br>
(1) <a href="https://github.com/ajolma/Geo-GDAL-FFI" rel="noreferrer" target="_blank">https://github.com/ajolma/Geo-<wbr>GDAL-FFI</a><br>
<br>
(2) <a href="https://github.com/ajolma/Geo-GDAL-2.02" rel="noreferrer" target="_blank">https://github.com/ajolma/Geo-<wbr>GDAL-2.02</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/gdal-dev</a></blockquote></div><br></div>