How to write an API for a Python application?

Piet van Oostrum piet at cs.uu.nl
Fri Nov 18 15:36:50 EST 2005


>>>>> Duncan Grisby <duncan-news at grisby.org> (DG) wrote:

>DG> To me, the situation sounds complex enough, especially with the need
>DG> for callbacks, that CORBA is an ideal solution. At the expense of a
>DG> small amount of boilerplate code, all the communication issues are
>DG> handled for you. In this day and age, why would you want to write code
>DG> that deals with sockets apart from the most specialist situations?

A more lightweight solution might be Ice. <http://www.zeroc.com/ice.html>
It is architecturally similar to Corba, but with less overhead. And
supports different programming languages and platforms.
But if your application is to be distributed on a non-GPL license you have
to pay.
That said, I think there is nothing wrong with using Corba for this kind of
thing. It has an additional advantage that it is a widely accepted standard.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list