SWIG and Perl

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/perl

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • SWIG

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

    Check out the site www.swig.org it will answer several of your questions. XS code is specific to Perl that you have to know how to code and use. SWIG takes code from C and C++ (actually several languages) and uses code templates to generate all the XS code for you. I wrote both a C library and C++ library doing different things, and used SWIG to import them into Perl (via "use"), Python and PHP. There is a learning curve, but it's not that bad, and there is a lot of great documentation and examples on the SWIG site.

  • bestline

    ANSI Standard X3.64 Teletypewriter Command Session Library

    I'll bite, too. I wish you to demo two real-world small- to medium-sized examples (e.g. bestline, OR-Tools) that also discuss the gritty details that invariably crop up and hinder progress. I have noticed don't get any value out of imaginary, tiny or toy examples (c.f. official swig docs) and I suspect that same is true for many other expert programmers. How can I motivate you to do this?

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • or-tools

    Google's Operations Research tools:

    I'll bite, too. I wish you to demo two real-world small- to medium-sized examples (e.g. bestline, OR-Tools) that also discuss the gritty details that invariably crop up and hinder progress. I have noticed don't get any value out of imaginary, tiny or toy examples (c.f. official swig docs) and I suspect that same is true for many other expert programmers. How can I motivate you to do this?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts