Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Performance penalties of in-Perl docn vs compiled CGIs.

by ikegami (Patriarch)
on Feb 05, 2021 at 00:07 UTC ( [id://11127906]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Performance penalties of in-Perl docn vs compiled CGIs.
in thread Performance penalties of in-Perl docn vs compiled CGIs.

Is Perl a compiled or an interpreted programming language?

Seeking work! You can reach me at ikegami@adaelis.com

  • Comment on Re^3: Performance penalties of in-Perl docn vs compiled CGIs.

Replies are listed 'Best First'.
Re^4: Performance penalties of in-Perl docn vs compiled CGIs.
by LanX (Saint) on Feb 05, 2021 at 08:52 UTC
    > Is Perl a compiled or an interpreted programming language?

    Yep, the answer is both... this distinction is from the 70s and doesn't apply to many newer languages.

    You mentioned a Perl to LLVM translation in SO, where can I find out more about this project?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      That was 10 year ago, and I haven't heard anything since. Probably mentioned on the p5p mailing list?

      Seeking work! You can reach me at ikegami@adaelis.com

Re^4: Performance penalties of in-Perl docn vs compiled CGIs.
by bliako (Monsignor) on Feb 05, 2021 at 20:08 UTC

    I like one of the comments below your linked post which points out what's really important in this distinction: interpreted language can be extended ad-hoc, eg. eval. That's a lot of flexibility.

      What if we bundled the executable of a "compiler language" like C or Go with a compiler?

      Why shouldn't it be possible to do that?

      And "eval"-ing would mean to run a make process leading to dynamically linked and executed code?

      According to you this would define an "interpreter", right? :)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        no, that would amount to shelling out, like with system(). eval'ing shares (edit: parent) program state, variables and can also influence/modify these.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11127906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found