[IronPython] Compiling .py to .dll to use with Silverlight

Jimmy Schementi Jimmy.Schementi at microsoft.com
Wed Mar 31 08:33:52 CEST 2010


I must confess I never got around to experimenting with it =( But thanks for bringing attention to it, and I'm sure this will get back on my plate as the IronPython team triages these issues for the next version.

Have you tried importing on a background thread to speed things up? That would be a useful sample to have out there, and I know Michael has done this successfully (and SilverShell had a way of toggling this).

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Lukas Cenovsky
Sent: Friday, February 26, 2010 12:55 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Compiling .py to .dll to use with Silverlight

Hi Jimmy,
PyCon's over, I checked your talk there (cool things!) but no mention about IronPython .dlls and Silverlight. Any progress on this issue?

All who need speed up IronPython Silverlight applications please vote:
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=25680

--
-- Lukáš


Jimmy Schementi wrote:

No update yet, but I'm planning on looking at it for my PyCon talk ...



~Jimmy







-----Original Message-----

From: users-bounces at lists.ironpython.com<mailto:users-bounces at lists.ironpython.com> [mailto:users-

bounces at lists.ironpython.com<mailto:bounces at lists.ironpython.com>] On Behalf Of Lukas Cenovsky

Sent: Thursday, January 28, 2010 3:52 PM

To: Discussion of IronPython

Subject: Re: [IronPython] Compiling .py to .dll to use with Silverlight



Any update on this issue? I'd like to see it working as it is quite an issue

for business apps.



For others interested please vote:

http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=25680



--

-- Lukáš





Michael Foord wrote:



Dino Viehland wrote:



I'm not aware of any working example of this.  In theory you can do

it by hand by just taking the resulting DLL that gets compiled on the

desktop and updating all of the assembly versions to be the

Silverlight assembly versions.  That can be done by sending it

through ildasm/ilasm.  You'd need to update all of the IronPython and

DLR assemblies as well as mscorlib and System all of which have

different versions on Silverlight vs the desktop CLR.





For the record I tried this and it didn't work for me. The resulting

assembly uses StrongBox (from memory) and possibly other features not

available in CoreCLR.



I would also love to see a solution to this as import time is a big

factor in the startup of IronPython Silverlight apps and pre-compiled

assemblies would help a lot.



All the best,



Michael









-----Original Message-----

From: users-bounces at lists.ironpython.com<mailto:users-bounces at lists.ironpython.com> [mailto:users-

bounces at lists.ironpython.com<mailto:bounces at lists.ironpython.com>] On Behalf Of Lukas Cenovsky

Sent: Sunday, November 22, 2009 1:27 PM

To: Discussion of IronPython

Subject: [IronPython] Compiling .py to .dll to use with Silverlight



Hi,

I'd like to know status of the $subj. I have found some discussions

(e.g. Michael tried to use pyc or

http://sdlsdk.codeplex.com/Thread/View.aspx?ThreadId=52207&ANCHOR

<http://sdlsdk.codeplex.com/Thread/View.aspx?ThreadId=52207&ANCHOR><http://sdlsdk.codeplex.com/Thread/View.aspx?ThreadId=52207&ANCHOR>)

but

no working example - is there any? And if not will be any? :-)

Thanks.



--

-- Lukáš



_______________________________________________

Users mailing list

Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>

http://lists.ironpython.com/listinfo.cgi/users-ironpython.com





_______________________________________________

Users mailing list

Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>

http://lists.ironpython.com/listinfo.cgi/users-ironpython.com











_______________________________________________

Users mailing list

Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>

http://lists.ironpython.com/listinfo.cgi/users-ironpython.com





_______________________________________________

Users mailing list

Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>

http://lists.ironpython.com/listinfo.cgi/users-ironpython.com







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100331/c11b2967/attachment.html>


More information about the Ironpython-users mailing list