Interesting.

So for neither of these, did you use FFI -- you pretty much said "okay, what communication mechanisms does unix give me, and I'll use those" --> thus pipe/sockets & writing to mysql (which is almost like shared memory).

Can you say some more about your experiences with this approach?

On Sun, Mar 8, 2009 at 8:20 PM, Pavel Dudrenov <dudrenov@gmail.com> wrote:
Well it kind of depends on your app. For what I've done in the past, C
talking to a php app, I did by keeping both completely separate and
have them use the same data (both query same mysql db). The other time
I just had C daemon and had php connect to it using a socket.

Depending on your project you might try something similar,
Pavel


On Sun, Mar 8, 2009 at 4:23 PM, lowly coder
<lowlycoder@huoyanjinjing.com> wrote:
> ah, alternative, and potentially 'better' idea --- anyone here got gambit
> (or scheme in general) to talk to php in apache / lighttpd? i don't mind the
> slight inefficiency if it puts alot of libraries at my finger tips
>
> On Sun, Mar 8, 2009 at 4:14 PM, lowly coder <lowlycoder@huoyanjinjing.com>
> wrote:
>>
>> Hi!
>>
>>   Is anyone here writing facebook apps on termite? or even scheme in
>> general? If so, can you point me at what scheme <-> facebook library you're
>> using? (If you converted over the php one, and are willing to donate the
>> code, even better!)
>>
>> Thanks!
>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list@iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>