Re: GTK widgets in C# was: Re: WSJ

2007-12-03 Thread Torello Querci
Alle mercoledì 28 novembre 2007, Scott Cytacki ha scritto:
 Torello Querci wrote:
  If you're interested in supporting Mono on the OLPC, I can create
  a wiki where I'll put the code I've already written, because at this
  time I'm
  working alone.

 I am interested in supporting Mono on the OLPC.   One thing I've wanted
 to try is running all of
 Sugar with IronPython.   This ought to give C#, Java (through IKVM), and
 any other mono language:
 http://www.mono-project.com/Languages
 full access to the Sugar widgets and APIs.

 I don't have time to try this now, but when I or someone else does, it
 would be helpful to know what is
 necessary to run Mono.

 Scott
Hi Scott,

unfortunately, there are a few problems running existing Python code with
IronPython because the glue level between Python and C library is managed in 
a different way. Python requires a specific C library to handle native calls,
while IronPython uses PInvoke to do this.

I'm now trying to implement a class library to run any mono program
on Sugar, but being compatible with Python class libraries is not a priority
at this time.

Best Regards,
Torello Querci
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GTK widgets in C# was: Re: WSJ

2007-12-03 Thread Torello Querci
Alle giovedì 29 novembre 2007, Chad Z. Hower aka Kudzu ha scritto:
 Im already working on this. Im working on it in a way though to run more
 effficiently than running as a normal JIT and instead working on a compiler
 of IL that can use the mono libs. We already have quite a bit working.
Sorry Chad,

I don't understand what you're doing.  Is it like the AOT (Ahead Of Time
compiler)? If so, I know that this function works in the mono compiler.
I never use it because, when you use the AOT option to compile a program, the 
metadata are stored the usual way, but the native code for all the functions
is also included in the final binary, so the size grows.

Ok, you can save the startup time the JIT compiler, but it is generally fast 
and called only once per each method, do I don't know how much performance 
improvement you get.


Best Regards
Torello Querci


 - Original Message -
 From: Scott Cytacki [EMAIL PROTECTED]
 To: Torello Querci [EMAIL PROTECTED]
 Cc: devel@lists.laptop.org
 Sent: Wednesday, November 28, 2007 10:33 PM
 Subject: Re: GTK widgets in C# was: Re: WSJ

  Torello Querci wrote:
  If you're interested in supporting Mono on the OLPC, I can create
  a wiki where I'll put the code I've already written, because at this
  time I'm
  working alone.
 
  I am interested in supporting Mono on the OLPC.   One thing I've wanted
  to try is running all of
  Sugar with IronPython.   This ought to give C#, Java (through IKVM), and
  any other mono language:
  http://www.mono-project.com/Languages
  full access to the Sugar widgets and APIs.
 
  I don't have time to try this now, but when I or someone else does, it
  would be helpful to know what is
  necessary to run Mono.
 
  Scott
 
 
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GTK widgets in C# was: Re: WSJ

2007-11-28 Thread Scott Cytacki

Torello Querci wrote:
 If you're interested in supporting Mono on the OLPC, I can create
 a wiki where I'll put the code I've already written, because at this 
 time I'm
 working alone.
I am interested in supporting Mono on the OLPC.   One thing I've wanted
to try is running all of
Sugar with IronPython.   This ought to give C#, Java (through IKVM), and
any other mono language:
http://www.mono-project.com/Languages
full access to the Sugar widgets and APIs.

I don't have time to try this now, but when I or someone else does, it
would be helpful to know what is
necessary to run Mono.

Scott


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: GTK widgets in C# was: Re: WSJ

2007-11-28 Thread Chad Z. Hower aka Kudzu
Im already working on this. Im working on it in a way though to run more 
effficiently than running as a normal JIT and instead working on a compiler 
of IL that can use the mono libs. We already have quite a bit working.

- Original Message - 
From: Scott Cytacki [EMAIL PROTECTED]
To: Torello Querci [EMAIL PROTECTED]
Cc: devel@lists.laptop.org
Sent: Wednesday, November 28, 2007 10:33 PM
Subject: Re: GTK widgets in C# was: Re: WSJ



 Torello Querci wrote:
 If you're interested in supporting Mono on the OLPC, I can create
 a wiki where I'll put the code I've already written, because at this
 time I'm
 working alone.
 I am interested in supporting Mono on the OLPC.   One thing I've wanted
 to try is running all of
 Sugar with IronPython.   This ought to give C#, Java (through IKVM), and
 any other mono language:
 http://www.mono-project.com/Languages
 full access to the Sugar widgets and APIs.

 I don't have time to try this now, but when I or someone else does, it
 would be helpful to know what is
 necessary to run Mono.

 Scott


 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
 


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel