Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Alien packages for FFCall and libffi
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Mertens  
View profile  
 More options Apr 20 2012, 7:11 pm
From: David Mertens <dcmertens.p...@gmail.com>
Date: Fri, 20 Apr 2012 18:11:28 -0500
Local: Fri, Apr 20 2012 7:11 pm
Subject: Alien packages for FFCall and libffi

Hey everybody -

Based on Joel Berger's excellent (and still developing) work on
Alien::Base, I've written Alien packages for FFCall and libffi. They
include some basic docs and a few tests (of the C libraries directly; not
Perl-level tests). You can see my work here:

http://github.com/run4flat/Alien-FFI
http://github.com/run4flat/Alien-FFCall

To see how to use these sorts of modules, you can see how I modified FFI's
code in my branch here:
http://github.com/run4flat/perl-FFI
The commit history is particularly useful:
https://github.com/run4flat/perl-FFI/commits/master

I would *really* like something to hit CPAN soon so that I can release my
Perl-TCC bindings. Those bindings will only really be useful when the
wrappers for one of these libraries is available, so any and all work that
you could bring to this would be greatly appreciated. With my
modifications, FFI is basically ready to be wrapped into v1.05 and pushed
to CPAN. I have not looked closely at the Ctypes work, though I would
ultimately like to use that as it seems to be more robust.

:-D

David

--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.