develooper Front page | perl.perl6.internals | Postings from December 2001

Re: IO filters

Thread Previous | Thread Next
From:
Melvin Smith
Date:
December 18, 2001 13:32
Subject:
Re: IO filters
Message ID:
OFAEF4071A.2216DCF3-ON85256B26.0075AB67@raleigh.ibm.com
Dan says:
>'Kay, here's the thought. Exactly one filter may be (optionally) marked as
>an interpreter terminal filter. It runs in the context of the interpreter
>that made the I/O request, and gets (or returns) a real PMC. All the other
>filters run in the context of a separate interpreter, and while they can
>also pass PMCs between each other, communication between the terminal
>filter and the source filter interpreter is via a non-reallocable string.
>(Yes, the string buffer is static. We can cope... :)

-snip-

>I think that makes sense. I might be wrong, but I think so. Good enough?

What differentiates a "trusted" filter from a "non-trusted". Who is allowed
to mark a filter as terminal, user code or language implementors?

Lastly, how much overhead in interpreter creation/teardown. Probably enough
to keep around a stashed "IO" interpreter right?


-Melvin Smith

IBM :: Atlanta Innovation Center
melvins@us.ibm.com :: 770-835-6984


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About