Ref::Util: accurate functions in XS for checking references

Ref::Util: accurate functions in XS for checking references

By Sawyer X from AmsterdamX.pm
Date: Monday, 20 June 2016 16:30
Duration: 50 minutes
Target audience: Any
Language: English
Tags: xs


"ref($ref) eq $ref_type" is a very common idiom but has various issues.

Instead, I wrote some functions in XS to do it differently. What? XS? How? Let me show you.

Probably worse, though... I implemented it using optional opcodes! What? Opcodes? Yes! I'll show you that too.

We'll delve into internal Perl data types, XS, and operators.


Attended by: Chad Granum (‎Exodist‎), Todd Rinaldo (‎toddr‎), Victor Stevko, Stevan Little (‎stevan‎), Rish, Thomas Glase, Mickey Nasriachi (‎Mickey‎), Matthew Horsfall (‎alh‎), Nicolas Rochelemagne (‎atoomic‎), Thomas McKernan, Gonzalo Diethelm (‎gonzo‎), Brad Lhotsky, Ben Rosengart, Brett Estrade (‎estrabd‎), Dana Jacobsen (‎danaj‎), Rob N ★ (‎robn‎), Ross Steiner (‎rdsteiner‎), Jon Gentle (‎atrodo‎), R Geoffrey Avery (‎rGeoffrey‎),