Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Refactoring Perl5 with Lua

by rje (Deacon)
on Apr 25, 2015 at 05:13 UTC ( #1124643=note: print w/replies, xml ) Need Help??

in reply to Re: Refactoring Perl5 with Lua
in thread Refactoring Perl5 with Lua

Yes. I've read the old Parrot book, including looking through the intermediate language opcodes, which were pretty fun to read about.

I think the solution is related to that, to some degree. The language has to handle structures that Perl uses -- maybe PMCs, maybe not -- and it ought to be able to register subs or packages or classes, because it will also have to do what XS does today.

So it's not Lua's opcode set, that's for sure. But it might borrow some ideas from there.

Heck, it might end up being some Frankensteinian, functional subset of C library functions, plus Perl's functions, plus a way to register new functions with the core. Or something. I don't know. Still mulling it over.

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-12-11 22:02 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (41 votes). Check out past polls.