For writing Perl extensions, consider the Platypus Rust plugin

Hi, thank you for writing this introduction for Perl programmers, it is highly useful.

I wonder if you would consider linking the Platypus Rust language plugin instead of your own rusty-perl example for writing Perl modules in Rust? It has a number of advantages:

  • Platypus is actively maintained, FFI::Raw hasn't seen activity in years
  • Packages for platypus are available for most major Linux distros and comes bundled with Strawberry Perl
  • In addition the tools needed to build and call Rust from Perl, the Rust language plugin aims to include comprehensive documentation for writing Perl extensions in rust, so it is a good starting place for developers who want to do that.
  • Includes a number of practical examples based on the Rust Omnibus, which unfortunately does not yet include any Perl examples.

I realize I am biased in my preference being the author for both Platypus and the Rust language plugin, and some of the examples could be more idiomatic on the Rust side since I am still somewhat new to Rust. However, my goal is for the project to be open for collaboration and improvement. I am currently renewing the documentation and examples and in the process stumbled onto your guide.

Thank you for your consideration.

Merge request reports

Loading