From: John Tobey [mailto:[EMAIL PROTECTED]]
> 
> Since this issue mainly affects Windows users (I assume),

Actually I've run across a couple people wanting this on unices.

> That's a different problem.  Configure is trying to reverse engineer
> header files.  Garrett already knows the prototype of his DLL function
> he wants to call, but, unlike Configure, he doesn't have access to a C
> compiler.

Well... I do have access to a C compiler, but not everyone does (nor should
have to).

I guess I don't understand the pro's/con's of XS glue code vs. something
like FFI, Win32::API, or C::DynaLib. Can anyone elaborate on this?

I do know that writing XS stuff is pretty impossible for even your
intermediate Perl hackers.  That is, unless they are at least intermediate C
coders as well. When it comes to working with XS files, I feel like I'm
trying to grapple a wet duck while bashing its 50 pound beak against a
problem.

Whatever eventually replaces XS, I certainly hope that coding to it feels
more like Perl working with C, than mystic C macros working with Perl.

Garrett

Reply via email to