2008/5/15 Ben Aurel <[EMAIL PROTECTED]>:
> 2. I've read about, that it is possible to compile Python Code to msil with
> IronPython. Unfortunately I'm not yet at the point where this run on my
> machine (macosx). So I do have to ask you: Is such a dll/exe the same as I
> would compile it from c#? D
I think the reason for the size increase (like Dino mentioned) is to handle
the dynamicity of the language.
"for i in lst" is not exactly foreach( int i in lst )
The equivelent code is something more along the lines of:
iterator = lst.__iter__()
while (i = iterator.next()) doesn't raise exceptio
ay, May 14, 2008 11:48 AM
To: Discussion of IronPython
Subject: Re: [IronPython] 2 Basic question about IronPython and dyn. langs in
general
First, I would like to ask anyone with more experience than myself (which is
not much) to comment on the validity of this test.
I'm sure there are mult
First, I would like to ask anyone with more experience than myself (which is
not much) to comment on the validity of this test.
I'm sure there are multitudes of differences I am not aware of that would
make these results misleading.
2) IronPython Studio does indeed compile ipy code to MSIL, though
I'll try to do my best to answer this.
1) Because a large is dynamically typed, doesn't mean you can't do any
verification on the code. Michael Foord told me about PyFlakes
(http://divmod.org/projects/pyflakes) and PyLint
(http://pypi.python.org/pypi/pylint) which can do static analysis on
the cod
hi
I have two questions on two different subject but anyhow connected. Also
I have to admit that I could probably find the answers myself. But I'm
quite new to all that things and I have a lot to catch up to...
If I understand correctly the are 2 main advantages when it comes to
dynamic langu