in reply to Re^3: Perl threads loss of performance with system call
in thread Perl threads loss of performance with system call

I do not understand what the importance of the "exact program" is, as other commands (such as echo) replicate the issue. But that said, this is the program: RNAfold from the ViennaRNA suite (https://www.tbi.univie.ac.at/RNA/).
  • Comment on Re^4: Perl threads loss of performance with system call

Replies are listed 'Best First'.
Re^5: Perl threads loss of performance with system call
by karlgoethebier (Abbot) on Jul 14, 2021 at 20:33 UTC

    Probably it matters. From ibidem:

    «Perl Bindings...The RNA module to access RNAlib C-library functions from within Perl scripts»

    I understand this like this: You don’t need to shell-out. You can do the stuff in pure Perl. If you fork or use threads is your design decision.

    Update: See here

    «The Crux of the Biscuit is the Apostrophe»

      I am sorry, but it is not like this. Not every single part of the framework is accessible from the Perl bindings. Ergo, the need to access it via shell-out.

        Too bad 🤪😎. Is it better in Python? As there is Inline::Python.

        «The Crux of the Biscuit is the Apostrophe»