tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Delfino <jsdelf...@apache.org>
Subject Re: Strawman implementation.python extension
Date Sun, 04 Jul 2010 19:50:54 GMT
Giorgio Zoppi wrote:
> 2010/6/28 Jean-Sebastien Delfino <jsdelfino@apache.org>:
>> Hi all,
>>
>> I'm starting to code a simple/minimalistic implementation.python extension
>> for Python components on the Java runtime, similar to what's working on the
>> native runtime [1].
>>
>> It's really basic. Component business methods are written as Python
>> functions, references and properties are represented as Python function
>> objects and passed as function arguments, and JSON or XML structured data
>> are just represented as Python tuples.
>>
>> I've started to write code for it this afternoon, and implementing it on top
>> of the Java runtime is looking easy so far. I'm planning to commit a
>> strawman in the next few days or next weekend, depending on how much spare
>> time I find to hack on this.

> Jean Sebastian, i looked at it a time ago as python entusiastic. And I
> found http://jepp.sourceforge.net/,
> which embeds cpython in a JVM. The licensing is free zlib/jpeg so it
> would help you
> to embed all the stuff using the speed of CPython, and it latest features.
> 
> Just 1c,
> Giorgio.
> 

Hi Giorgio,

I've started with Jython as I wanted to run in a pure-Java environment, 
but it'll probably be possible to adapt the Java implementation 
extension to native Python later if people want to try that out.

When I need to run native Python, right now I'm using the code in the 
SCA native runtime project (see [1][2][3]).

[1] 
http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/samples/store-python/
[2] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/modules/python/
[3] http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/modules/wsgi/
-- 
Jean-Sebastien

Mime
View raw message