Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by chip (Curate)
on Dec 01, 2001 at 02:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128780]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found