Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Beware the XS (was Re: Don't have a COW? Get one!)

by chip (Curate)
on Dec 01, 2001 at 02:40 UTC ( #128780=note: print w/replies, xml ) Need Help??


in reply to Don't have a COW? Get one!

Doesn't current third-party XS code depend on SvPTR() being owned only by the current SV? COW changes that....

    -- Chip Salzenberg, Free-Floating Agent of Chaos

  • Comment on Beware the XS (was Re: Don't have a COW? Get one!)

Replies are listed 'Best First'.
Re: Beware the XS (was Re: Don't have a COW? Get one!)
by japhy (Canon) on Dec 01, 2001 at 05:15 UTC
    I wouldn't be making it third party code -- this would just be another builtin magic.

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

      I got that. My point is that the magic you're describing could easily break compatibility with third-party XS code.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

        Ohhhhh. You meant it the other way. Well, this would be experimental in the 5.9 track, I'd guess, and would be fine-tuned for Perl 6.

        _____________________________________________________
        Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
        s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://128780]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2020-07-02 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?