Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

brad mentioned this earlier on the phone

"... now we have to find Perl's char* memory address holding the C string in $struct above. the only default thing in Perl that can do this is Devel::Peek, which can only write it to stderr. And at an XS layer, not a PerlIO layer, so we can't even tie the filehandle to a Perl class. The only way to capture Devel::Peek's output is to dup2 the stderr fd to another file, then parse that file."

When all you have is a hammer. ...
Subscribe

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • google ime

    Japanophiles might be interested to learn that Google released a Japanese IME. IME is the sort of NLP problem that Google is nearly uniquely…

  • ghc llvm

    I read this thesis on an LLVM backend for GHC, primarily because I was curious to learn more about GHC internals. The thesis serves well as an…

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 7 comments