Benjamin Goldberg goldbb2@earthlink.net writes:
Walter Roberson wrote:
[…]
Speaking of layers: I take it that some thought has been put into
how to do operating-system escapes? So that one can (for example)
handle graphics? Or even just sockets? Seeing as some of the most
popular interpreted languages are by no means restricted to text-only
and have networking capabilities?Remember, the parrot interpreter is written in C… it has to be.
Obviously, one would have parrot opcodes which result in calls to C
functions, which perform socket operations or graphics or whatever.
I dont’t think it will be opcodes, but rather a combination of loadlib
(load a DLL) and dlfunc (create a parrot-callable subroutine from a
DLL function). See core.ops.
Regards,
Slaven
···
–
Slaven Rezic - slaven.rezic@berlin.de
Visualize Makefiles with GraphViz:
http://user.cs.tu-berlin.de/~eserte/src/perl/GraphViz-Makefile/