Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^8: Run Perl 5 in the Browser!

by chromatic (Archbishop)
on Aug 23, 2018 at 17:59 UTC ( #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 (Pope) 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
Node Status?
node history
Node Type: note [id://1220940]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-10-26 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (253 votes). Check out past polls.

    Notices?