some questions using parrot

0 views
Skip to first unread message

atex.way

unread,
Dec 18, 2009, 9:54:55 PM12/18/09
to parrot-dev
hello, everyone,
    i want to use parrot as a VM for my HLL, but have some questions for help, thanks in advance.
    1. is parrot stable now?
    2. is parraot faster than lua or pyhton VM or old perl 5.
    3. does parrot have a module extention mechanism in c language like python. 
    4. can implement a HLL with c instead of PIR? if PIR is recomended, why?
 
 
 
2009-12-19

atex.way

Jonathan Leto

unread,
Dec 18, 2009, 11:20:36 PM12/18/09
to atex.way, parrot-dev
Howdy,

Although these questions are best answered on the parrot-users mailing
list [0,1] (this mailing list is for internal development), I will
answer your questions quickly here. Please take further questions to
parrot-users.

1. Define stable
2. Parrot is faster than Perl 5 in many microbenchmarks, but our
garbage collector can sometimes ruin the performance benefit we have
in long-running programs. Parrot has not been directly benchmarked
against Lua/Python recently, and you would have to specify exact
versions/implementations to get a direct answer.
3. If you are asking if we have something like ctypes, then yes.
Mostly. You can access libraries written in C via NCI (Native Call
Interface) [2] . Please take note that the NCI API is still in flux.
4. Yes. You can just use the parts of the Parrot VM that you want. For
instance, the winxed [3] language is self-hosting and has a stage-0
compiler written in C++.

Duke


[0] http://lists.parrot.org/mailman/listinfo/parrot-users
[1] http://groups.google.com/group/parrot-users
[2] http://www.parrotcode.org/docs/pdd/pdd16_native_call.html
[3] http://winxed.org/

> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
>

--
Jonathan "Duke" Leto
jona...@leto.net
http://leto.net
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply all
Reply to author
Forward
0 new messages