Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl 6... do we need another vm?

by audreyt (Hermit)
on Sep 06, 2006 at 03:40 UTC ( #571368=note: print w/replies, xml ) Need Help??


in reply to Perl 6... do we need another vm?

Pugs has targeted multiple VMs (JavaScript, Parrot, etc.) in the past, and we look forward to target more VMs in the future.

I've worked with CLR and YARV people to explore techniques in targetting them, and indeed both will probably become reasonable targets in their next release. I also plan to find some JVM people and see how much of JRE6 stuff we can use, but I'm not sure it's ready for Perl 6 yet.

As for Haskell: Pugs and Darcs have pushed GHC to improve its efficiency as a imperative VM, so it is becoming a really viable target for Perl 6.

However, with all that said, I think for the next few years, Perl 5 remains the most practical and robust VM to target, which is why Pugs now embeds Perl 5 by default. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://571368]
help
Chatterbox?
[ambrus]: The main loop for unixish systems is in https://metacpan. org/source/ KARASIK/Prima-1. 49/unix/apc_app.c. It is a hand-rolled select loop, but also always spins at least once every 0.2 seconds for some reason.
[ambrus]: marto: no, not that way. if you just want to test for an existing id attribute, then write *[@id] , or you can match a regexp to the value of that attribute like *[@id=~/something/ ]
[marto]: ambrus, thanks I ended up going with '//*[starts- with(@id, "thread_")]...
[ambrus]: Sometimes it's easier to just match elements in ways other than xpath, like directly with perl code.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-12-08 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (140 votes). Check out past polls.