Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by LanX (Saint)
on Feb 03, 2021 at 19:19 UTC ( [id://11127868]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Performance penalties of in-Perl docn vs compiled CGIs. (updated x 2)
in thread Performance penalties of in-Perl docn vs compiled CGIs.

We had the discussion already in the past and I'm reluctant to reiterate it.

And yes, it's semantics.

Saying OP codes are not byte codes because the latter are more primitive "assembler like" and the former rather macros is also a matter of perspective.

For instance it's far easier to deparse the original source for Java than C.

But yes, granted, there are many languages targeting the JVM and only one for Perl's runtime, because the former is "simpler".

But it should still be possible to generate a .plc from another language, at least in theory.

And Java is still interpreted, because JIT ne AOT.

Anyway

The most crucial point if it comes to performance is rather static Vs dynamic typing, and nobody mentioned it yet.

Optimizing X+Y is pretty complicated if one doesn't know if it's an integer, float, string or overloaded operation.

Another dimension of shades of grey.

... And semantics.

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://11127868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-20 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found