I'd be happy to unblackhole mine if it gets more people involved.

The x86_64 part is because ObjC doesn't provide a completely machine-abstract way to invoke dynamically.  Each way has some icky flaws.  My first goal was actually iOS, but I went down the x86_64 path because Mikael had a need for that first.  I'd like the package to have x86_64/i386/arm.

I did discover that a LOT more machinery is needed for x86_64 than for i386 or arm.  Calling conventions on 64-bit are crazy insane (though I now have the worst of it solved).





On Wed, Feb 27, 2013 at 9:11 AM, Marc Feeley <feeley@iro.umontreal.ca> wrote:

On 2013-02-27, at 9:40 AM, Jason Felice <jason.m.felice@gmail.com> wrote:

> *sigh* If only I had time to work on my dynamic ObjC bridge.... next week.

Perhaps we should join our efforts...  I propose the creation of a github repo specifically for this to share our codes.  I know that Jason has his own repo (https://github.com/maitria/gambit-objc), but it seems to be based on blackhole and is x86-64 specific, and thus not usable on iOS.

I've created the (currently empty) repo

  https://github.com/gambit-community/objc-bridge

for the purpose of putting together a portable and dynamic Objective-C bridge in pure Gambit Scheme.  Who is interested in contributing?

Marc