Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^8: Run Perl 5 in the Browser!

by chromatic (Archbishop)
on Aug 23, 2018 at 17:59 UTC ( [id://1220940]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Run Perl 5 in the Browser!
in thread Run Perl 5 in the Browser!

Yeah, given that observing a variable at the Perl level could cause SV upgrades within an opcode, maybe it's better to say the challenges are:

  • Polymorphic data structures at the C level; with
  • SV upgrades in opcodes; leading to
  • Large opcode function sizes

We're not talking about JITting a five line Smalltalk method that's monomorphic across 80% of calls here. It would surprise me if the average opcode didn't expand to a size larger—and quite a few basic blocks more‐than LLVM wants to try to JIT.

Replies are listed 'Best First'.
Re^9: Run Perl 5 in the Browser!
by ikegami (Patriarch) on Aug 23, 2018 at 20:42 UTC

    Nah, implicit type conversions is something JIT compilers can handle.

Log In?
Username:
Password:

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

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

    No recent polls found