[erlang-questions] client in erlang server in objective C

Anthony Molinaro anthonym@REDACTED
Tue Jul 17 23:48:24 CEST 2012


What about thrift http://thrift.apache.org/

It's RPC style so you describe function calls, erlang clients are easy,
the objective-c server would be generated for you (other than the
body of the function).

I've been using thrift to talk java->erlang and erlang->java, so
talking erlang->objective-c should be straightforward.

Some examples http://wiki.apache.org/thrift/ThriftUsageObjectiveC

-Anthony

On Sat, Jul 14, 2012 at 06:27:49PM +0200, Joe Armstrong wrote:
> I want the following:
> 
>    - Client in erlang (easy)
>   - Server in objective C (I'm thinking Mac OS-X lion - xcode 4.2 - cocoa)
>   -  socket communication
> 
> [[ I'm a complete beginner with xcode/objective C ]]
> 
> Has anybody written a simple objective C client that opens a port
> waits for a message then executes a callback. This should be non-blocking
> and be integrated with the "standard" dispatcher top-loop.
> 
> I'm confused by the profusion of classes that almost do this.
> 
> Has anybody implemented this, or have pointers to a good place to start.
> 
> Cheers
> 
> /Joe
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <anthonym@REDACTED>



More information about the erlang-questions mailing list