Re: Outstanding parrot issues?
[email protected] (Leopold Toetsch) Fri, 30 Apr 2004 20:30:46 +0200
| Newsgroups | perl.perl6.internals,perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
Nicholas Clark <[email protected]> wrote: > If I understand this correctly, then this is far more restrictive than the > perl5 embedding interface. This is *one* way to start things up. You can start the app with Parrot_run_native. You can set the stack top. You can register each PMC with dod_register. You can stuff all PMCs that wouldn't be visible into a PMC array ...But one of these policies or a suitable mixture has to be choosen. Like it or not DOD/GC has different impacts on the embedder. Above rules are simple. There is no "when the PMC isn't used any more decrement a refcount" and "when you do that and that then icnrement a refcount" or some such like in XS. This is really simple. Simplest is to just set the top of stack. > Nicholas Clark leo