Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-26 Thread Michael Foord
l Foord -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, April 21, 2009 4:02 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote:

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
ng as it doesn't make import time worse. Michael -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:07 PM To: Discussion of IronPython Subject: Re: [IronPython] C

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Dino Viehland
ichael Foord > Sent: Tuesday, April 21, 2009 4:02 PM > To: Discussion of IronPython > Subject: Re: [IronPython] Compiling with Pyc for Silverlight > > Dino Viehland wrote: > > Do you have a simple repro XAP you can send me and I'll take a look? > > > > I'm no

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
l Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:07 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Michael Foord wrote: Jb Evain wrote:

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Dino Viehland
ists.ironpython.com [mailto:users- > boun...@lists.ironpython.com] On Behalf Of Michael Foord > Sent: Tuesday, April 21, 2009 2:41 AM > To: Discussion of IronPython > Subject: Re: [IronPython] Compiling with Pyc for Silverlight > > Dino Viehland wrote: > > You're

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-21 Thread Michael Foord
s.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 3:07 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord wrote: I guess a ful

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
ussion of IronPython > Subject: Re: [IronPython] Compiling with Pyc for Silverlight > > Michael Foord wrote: > > Jb Evain wrote: > >> Hey Michael, > >> > >> On 4/20/09, Michael Foord wrote: > >> > >>> I guess a full IL writer would be

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Michael Foord wrote: Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the references to an assembly

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Jb Evain wrote: Hey Michael, On 4/20/09, Michael Foord wrote: I guess a full IL writer would be needed - which means back to Cecil and the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the references to an assembly from the desktop vers

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Jb Evain
Hey Michael, On 4/20/09, Michael Foord wrote: > I guess a full IL writer would be needed - which means back to Cecil and > the like and seeing if parts of them could be run on Silverlight. *sigh* You just want to change the references to an assembly from the desktop version to the SL version? W

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 1:24 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Silverlight Dino Viehland wrote: An easy starting point would be to use ildasm + a Python script + ilasm. There's also

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
.ironpython.com] On Behalf Of Michael Foord > Sent: Monday, April 20, 2009 1:24 PM > To: Discussion of IronPython > Subject: Re: [IronPython] Compiling with Pyc for Silverlight > > Dino Viehland wrote: > > An easy starting point would be to use ildasm + a Python script + >

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
inaries will make this go away. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, April 20, 2009 12:43 PM To: Discussion of IronPython Subject: Re: [IronPython] Compiling with Pyc for Si

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
to:users- > boun...@lists.ironpython.com] On Behalf Of Michael Foord > Sent: Monday, April 20, 2009 12:43 PM > To: Discussion of IronPython > Subject: Re: [IronPython] Compiling with Pyc for Silverlight > > Dino Viehland wrote: > > In theory there's just 1 IL re-write that'

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Dino Viehland wrote: In theory there's just 1 IL re-write that's required for this to work. And that should be replacing the references to mscorlib/IronPython to point at the Silverlight versions. There's no way to directly have the written binaries target Silverlight because Reflection Emit

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Michael Foord
Dino Viehland wrote: In theory there's just 1 IL re-write that's required for this to work. And that should be replacing the references to mscorlib/IronPython to point at the Silverlight versions. There's no way to directly have the written binaries target Silverlight because Reflection Emit

Re: [IronPython] Compiling with Pyc for Silverlight

2009-04-20 Thread Dino Viehland
In theory there's just 1 IL re-write that's required for this to work. And that should be replacing the references to mscorlib/IronPython to point at the Silverlight versions. There's no way to directly have the written binaries target Silverlight because Reflection Emit has no cross-compilati