Re: [Ironpython-users] Considering IronPython for a new project

2012-03-16 Thread cold_fusion
Jeff, thank you very much for your feedback. I'm eager to see that list you mentioned, hopefully with testimonials. On Fri, Mar 16, 2012, at 08:44 AM, Jeff Hardy wrote: > On Tue, Mar 13, 2012 at 2:29 AM, wrote: > > I wasn't aware that MS bailed on the Irons (back at 2010) until a few > > day

Re: [Ironpython-users] Startup performance

2012-03-16 Thread mchalkley
And to add to my previous message that it's about 5x faster via the ipy route: On my laptop, which is an i7 W7-64 machine with 16gb RAM & 256gb SSD, it opens in 1.5 sec or so (really too fast to accurately gauge) via ipy, while the exe requires more than 5 seconds... Mark Friday, March 16, 2012,

Re: [Ironpython-users] Startup performance

2012-03-16 Thread mchalkley
Title: Re: [Ironpython-users] Startup performance It's MUCH faster - seems to be about 5x faster, as an average, over 5 runs... Mark Friday, March 16, 2012, 12:12:23 PM, you wrote: How long does it take if you run in script form? Just wondering for comparison. slide On Fri, Mar 16, 2012

Re: [Ironpython-users] Startup performance

2012-03-16 Thread Jeff Hardy
On Fri, Mar 16, 2012 at 9:12 AM, Slide wrote: > How long does it take if you run in script form? Just wondering for > comparison. Yeah, that would be a good comparison - .NET will have to JIT all of IronPython as it loads, which can take some time. The installer runs NGEN to reduce this pretty si

Re: [Ironpython-users] Run a WPF application written in IronPython on the client computer without the install IronPython

2012-03-16 Thread Slide
Getting more information about the errors would be necessary. Thanks, slide On Fri, Mar 16, 2012 at 9:09 AM, wrote: > I have a need to run a WPF application written in IronPython on the client > computer without the install IronPython. > I try to create a C # thin client (. Exe), using IronPy

Re: [Ironpython-users] DataSet --> SQLite

2012-03-16 Thread Sven Thomas
Thanks. So far I've worked out a solution iterating through the dataset. It's slow and the hard drive pins, but this report is only intended to be run once a year so performance isn't exactly a priority: for i in range(self.oraData2.Tables[0].Rows.Count -1): title = se

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-16 Thread Jeff Hardy
On Fri, Mar 16, 2012 at 8:45 AM, Doug Blank wrote: > Can you think of *any* workaround on the C# side? Nothing I have tried > will allow me to get a Python-based function (lambda, PythonFunction, > builtin) out of an IList as a Func. If you're in C# 4 this should work: void test3(IList funct

[Ironpython-users] Run a WPF application written in IronPython on the client computer without the install IronPython

2012-03-16 Thread sepatan
I have a need to run a WPF application written in IronPython on the client computer without the install IronPython. I try to create a C # thin client (. Exe), using IronPython.dll. If I can not load the XAML - everything is fine. But when loading XAML error occurs. Does anyone have any informatio

Re: [Ironpython-users] Startup performance

2012-03-16 Thread Slide
How long does it take if you run in script form? Just wondering for comparison. slide On Fri, Mar 16, 2012 at 8:55 AM, wrote: > Since the question of performance with regard to zipimport was just > raised, it prompted me to ask a related question. > > I have a script that I've compiled to an co

[Ironpython-users] Startup performance

2012-03-16 Thread mchalkley
Since the question of performance with regard to zipimport was just raised, it prompted me to ask a related question. I have a script that I've compiled to an console app exe, which retrieves some data from an SQL db, does quite a bit of simple analysis and produces some files containing the resut

Re: [Ironpython-users] DataSet --> SQLite

2012-03-16 Thread Jeff Hardy
On Wed, Mar 14, 2012 at 3:34 PM, Vernon Cole wrote: > I would suggest opening both databases in their native form, then do the > comparison using Python code rather than a complex SQL query. It may take a > while to run, but should work okay. SQLite select statements are quite fast. > Trying to do

Re: [Ironpython-users] standard lib: pyc or zip it?

2012-03-16 Thread Hernán Foffani
El 16/03/2012, a las 16:28, Jeff Hardy escribió: > On Fri, Mar 16, 2012 at 3:33 AM, Hernán Foffani wrote: >> Hi, >> Say I want to distribute a smaller (in quantity of files) Python standard >> library. What would you recommend? Pyc the whole library to build a DLL or >> just zip it? Are there an

Re: [Ironpython-users] Considering IronPython for a new project

2012-03-16 Thread Jeff Hardy
On Tue, Mar 13, 2012 at 2:29 AM, wrote: > I wasn't aware that MS bailed on the Irons (back at 2010) until a few > days ago, this will probably hurt my arguments, let alone other chatter > on the web saying that nobody uses these languages aside from the former > teams at MS. That's not true; I h

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-16 Thread Doug Blank
On Fri, Mar 16, 2012 at 11:36 AM, Jeff Hardy wrote: > On Fri, Mar 16, 2012 at 4:24 AM, Doug Blank wrote: >> This is looking more and more like a bug. I see from >> http://stackoverflow.com/questions/799987/how-to-pass-a-lambda-expression-to-a-c-sharp-constructor-from-an-ironpython-scri >> >> that

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-16 Thread Jeff Hardy
On Fri, Mar 16, 2012 at 4:24 AM, Doug Blank wrote: > Any suggestions appreciated! > Oh, and please open an issue on Codeplex with a minimal reproduction, if you can. Thanks., Jeff ___ Ironpython-users mailing list Ironpython-users@python.org http://mai

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-16 Thread Jeff Hardy
On Fri, Mar 16, 2012 at 4:24 AM, Doug Blank wrote: > This is looking more and more like a bug. I see from > http://stackoverflow.com/questions/799987/how-to-pass-a-lambda-expression-to-a-c-sharp-constructor-from-an-ironpython-scri > > that it works for constructors (and have verified that it does)

Re: [Ironpython-users] standard lib: pyc or zip it?

2012-03-16 Thread Jeff Hardy
On Fri, Mar 16, 2012 at 3:33 AM, Hernán Foffani wrote: > Hi, > Say I want to distribute a smaller (in quantity of files) Python standard > library. What would you recommend? Pyc the whole library to build a DLL or > just zip it? Are there any performance difference between the two? Any other >

[Ironpython-users] IronPython, Daily Digest 3/15/2012

2012-03-16 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] pyc should generate try/catch around module call 2. [New issue] pyc.py: generates exes which fail on using std python libs 3. [New comment] pyc.py: generates exes which fail on

Re: [Ironpython-users] Passing an IronPython function to C#

2012-03-16 Thread Doug Blank
On Thu, Mar 15, 2012 at 9:22 PM, Doug Blank wrote: > I am attempting to pass an IronPython function into the following C# > functions, which I import into IronPython: > >        public static Func getFunc1(params Func [] functions) { >                return functions[0]; >        } > >        publ

[Ironpython-users] standard lib: pyc or zip it?

2012-03-16 Thread Hernán Foffani
Hi, Say I want to distribute a smaller (in quantity of files) Python standard library. What would you recommend? Pyc the whole library to build a DLL or just zip it? Are there any performance difference between the two? Any other alternative or best practice? Regards, Hernán. _