newbie IronPython compiled scripts speed question
Hello, and sorry if this has been asked before... I searched the faqs at python.org and didn't find an answer: does using IronPython, instead of CPython, and compiling the scripts into native windows executables (I heard IronPython can do that) result in faster execution times? Or is it just a matter of convenience (for use in systems without python installed)? So the question is, should I switch to IronPython and compile my scripts, or learn to use something like pyinline or Psyco? -- http://mail.python.org/mailman/listinfo/python-list
Re: newbie IronPython compiled scripts speed question
On Sun, 24 Sep 2006 23:59:34 +0300, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: > I don't know what you heard but IronPython generates IL code which > happens to be the bytecode of the CLR (the runtime of .NET). So you are > not generating "native" stuff but a PE executable wrapping the .NET > stuff in it. not native... I see. thanks for the info, so there's not much point in turning to IronPython for speeding up scripts yet... -- http://mail.python.org/mailman/listinfo/python-list
Re: newbie IronPython compiled scripts speed question
> Learning to use Psyco is very easy, for a basic usage you just have to > put in your code: > import psyco > psyco.full() > > For a better usage you can do: > psyco.bind(functioname) > for just the functions that you have seen can enjoy the compilation. > > For a smart usage you can learn few tricks to help its job. The last > page of the psyco manual helps. > > pyinline is rather easy to use if you have linux and you know C. thanks, I'll check out psyco's documentation, since unfortunately the scripts will be run on a Windows box, and using a compiler other than VC++ is not an option... on that note, is there a tutorial/guide on making python (and therefore pyinline) aware of the VC++ compiler installed on the machine so it can be used for automatic compilation? Is a change in some configuration file, or a call of some function needed? -- http://mail.python.org/mailman/listinfo/python-list
