Python component model
Edward Diener No Spam
eldiener_no_spam_here at earthlink.net
Tue Oct 10 09:04:10 EDT 2006
Steve Holden wrote:
> Diez B. Roggisch wrote:
> [...]
>>> Just the same, one can use IronPython to call components written in
>>> other languages. And, I believe, vice versa.
>>
>>
>> Sure, as I can do it in jython. But the key point is: can your ordinary
>> python-object be published as a component? At least for jython I can
>> say "no", you will have to subclass an already existing
>> java-object/interface. And I have difficulties imagining that it is any
>> different in .NET - because I've read statements that claimed that the
>> structure of the VM/runtime is orientied towards single-inheritance
>> statically typed languages as C#/java.
>>
> The answer to this question is currently beyond me. Maybe someone who
> knows more about IronPython can elucidate. I do know (as you probably do
> also) that Python generates code for the .NET CLR, however.
I am not sure about current IronPython functionality but the end result
is that one should be able to create .Net components and classes using
Python with IronPython just as one does in C#, C++/CLI, or VB .NET.
But this is not creating a component model for Python except in the .Net
environment, which essentially means Windows unless IronPython will work
under Mono, and Microsoft does not kill Mono. I don't think all those
"ifs" is something a Python programmer wants to deal with in possible
RAD component development.
More information about the Python-list
mailing list