Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: A Perl interpreter written in Perl?

by cavac (Prior)
on Apr 18, 2025 at 13:20 UTC ( [id://11164773]=note: print w/replies, xml ) Need Help??


in reply to Re^2: A Perl interpreter written in Perl?
in thread A Perl interpreter written in Perl?

Not to mention the whole thing would probably be awfully slow. And it would probably be a compromise anyway, if the plan is to reach full Perl compatibility. I mean, how would you load C-Libraries, for example? You can either do that in the underlying Perl binary, or you start including a whole C/C++/machine code interpreter...

A limited/reduced/simplified Perl interpreter certainly has its use cases. But if you need a full-blown Perl installed to run it, that somewhat defeats the point.

Now, a somewhat reduced and limited Perl written in JavaScript, that could be damn useful for web development.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Also check out my sisters artwork and my weekly webcomics
  • Comment on Re^3: A Perl interpreter written in Perl?

Replies are listed 'Best First'.
Re^4: A Perl interpreter written in Perl?
by hippo (Archbishop) on Apr 18, 2025 at 15:30 UTC
    Now, a somewhat reduced and limited Perl written in JavaScript, that could be damn useful for web development.

    Doesn't webperl already fill that niche?


    🦛

Re^4: A Perl interpreter written in Perl?
by LanX (Saint) on Apr 18, 2025 at 21:16 UTC
    I'm not sure why you are talking about performance now.

    ECMAScript's language specification led to many competing implementations.

    And having an alternative implementation of Perl would naturally involve the need of a specification and/or help define it.

    > Now, a somewhat reduced and limited Perl written in JavaScript

    perlito was already mentioned twice in this thread.

    Haukex' webperl is feature complete (not "reduced") but it's not written in JS (apart tiny parts for bridging), but cross compiled to WebAssembly

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see 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://11164773]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2025-06-19 12:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.