Re: Outstanding parrot issues?
[email protected] (Arthur Bergman) Sat, 1 May 2004 20:54:34 +0100
| Newsgroups | perl.perl6.internals,perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
On 30 Apr 2004, at 19:30, Leopold Toetsch wrote: > 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. > I am now going to be impolite. THERE ARE CASES WHERE YOU CAN NOT SET A TOP OF STACK, FOR EXAMPLE IF YOU ARE WRITING A PLUGIN TO A BINARY ONLY APPLICATION LIKE INTERNET EXPLORER OR WRITING AN APACHE2 SHARED LIBRARY THAT IS SUPPOSED TO WORK WITH PRE COMPILED BINARIES, NOT TO MENTION A LOT OF APPLICATIONS THAT MIGHT WANT TO EMBED PARROT AS AN OPTION MIGHT FEEL IT IS A TAD FUCKING UNCLEAN TO RUN THEIR ENTIRE APPLICATION THROUGH PARROT (THINK OPENOFFICE) I am amazed by the fact that parrot seems determined to redo the same misstakes perl5 did. Arthur