Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by bliako (Monsignor)
on Feb 05, 2021 at 20:08 UTC ( [id://11127951]=note: print w/replies, xml ) Need Help??


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

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.

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

Replies are listed 'Best First'.
Re^5: Performance penalties of in-Perl docn vs compiled CGIs.
by LanX (Saint) on Feb 05, 2021 at 21:57 UTC
    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.

        > that would amount to shelling out,

        If you realized it today, yes.

        You could implement it as internal feature.

        Nobody does, because the benefits of eval wouldn't justify the costs of a much larger binary.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found