[Mono-list] python scripting
A Rafael D Teixeira
rafaelteixeirabr@hotmail.com
Sun, 21 Oct 2001 19:42:46 -0200
You can also work from inside our mcs compiler suite, one of the things I
intend to do with MonoBASIC is to "pythonize" a bit, get also some things
from Ruby (things like adding methods to instances of a class instead of
classes), but while that is good exercise most Python programmers would like
to have a good implementation of their language.
The problem with ActiveState approach is that they are running a standalone
python or perl interpreter, that is encapsulated in COM and called using
.NET Interop Services (COM Wrapping). The good thing in their approach is
they can have 100% percent python/perl syntax and types and interpretative
power, but at a cost of a lot of overhead in the wrapping layers.
In MonoBASIC Iīll try to expand VB.NET a lot, but Iīll keep generating true
.NET objects, that may have behind-the-scene calls to libraries of
higher-level functionality.
The problem I see with implementing a perl/python syntax in Mono/.Net is
about choosing between a true interpreter that may have performance problems
or a compiler with perhaps a altered syntax to mandate strict type checking.
I donīt know a lot about Microsoftīs JScript.NET, only that itīs untyped,
but they deemphasize it a lot in the documentation, an my expectation is
that it is probably a bad performer.
Rafael Teixeira
Brazilian Developer
>From: Tobias Florek <tflorek@web.de>
>To: mono-list@ximian.com
>CC: miquel@ximian.com
>Subject: [Mono-list] python scripting
>Date: Sat, 20 Oct 2001 22:48:48 +0200
>
>hi ya devels (notice no i ;) !
>
>i just started being interested in .net.
>as a python programmer, i really know the lack of bindings to some exciting
>libraries. so i plan to enjoy .net.
>
>but i noticed some difficulties.
>first there is no reasonable python binding to .net
> (activestates is slow (no slower than slow!)
>second even if activestates would be fast enough, it will never work in my
>linux/hurd environment, due to its need of com+.
>
>so may i ask if there is someone working on a python implementation, and if
>not if i should start a sourceforge thread or work on mono cvs.
>
>
>my first ideas of python on .net (what about dotpython or .python for
>short?)
>were:
>
>adapt existing jython (www.jython.org) code.
>* that would require only time to port from java to c#.
>* no need to re-invent python
>* drawbacks:
> * no nice way to use python classes from c#
> * no overwhelming speed (but better than activestates' )
>
>any ideas about that?
>
>
>tobias florek
>tflorek@web.de
>
>
><> may the source be with you! <>
>
>
>
>_______________________________________________
>Mono-list maillist - Mono-list@ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp