[Chicago] Not-python

Atul Varma varmaa at gmail.com
Fri Mar 9 17:02:30 CET 2007


Out of curiosity, why can't games written in IronPython run on the
360?  Can they not be compiled to standard .NET assemblies?  Or could
one make a .NET assembly that trivially embeds IronPython and runs a
Python program (kind of like py2exe does for Windows)?

- Atul

On 3/9/07, Feihong Hsu <hsu.feihong at yahoo.com> wrote:
> Games created in IronPython will not be able to run on the 360, but
> there are other non-sucky languages for .NET that you could use.  One
> is Boo, which is a statically-compiled language with Python-like
> syntax.  It uses type inference whenever it can to reduce the number
> of type declarations you write.  Another is F#, a functional language
> based on OCaml.  I'm not very familiar with OCaml, but F# has a
> "light" syntax option that allows for a more Python-like syntax.  F#
> also uses type inferencing, but it seems much more effective than
> Boo's.
>
> So one viable development approach would be to do a prototype in
> IronPython, and gradually migrate the more stable parts to Boo/F#.
> Once the entire program is in Boo/F#, just compile the program to a
> .NET binary (assembly), and it will run on the 360, no problem.
>
> I know Boo fairly well and could give a lightning talk on Boo if
> people are interested (it is pretty easy to grok for Python
> programmers).
>
> I could probably give one on F# too, once I learn it better.  I
> should mention that F# is probably the most accessible functional
> language for Python programmers.  It can use all of the .NET
> libraries, and it can use many (most?) Python libraries (through
> either IronPython or the Python for .NET bridge).  You need to write
> some boilerplate to enable interoperability, but at least you can
> write it in F# and not sucky C++/C#, and you don't need to generate
> wrapper code ala SWIG.
>
> Cheers,
>
> Feihong
>
> P.S.  I am working on fixing my website so I can post the slides from
> my Unicorn, I mean Unicode, presentation.
>
>
> On Thu, Mar 08, 2007 at 02:14:50PM -0600, Chris McAvoy wrote:
> > http://radar.oreilly.com/archives/2007/03/techfest_boku_f.html
> >
> > ...buuuuut, it could be.  A creative use of M$'s XNA framework,
> geared
> > specifically to teach kids programming using the Xbox as a
> platform.
> >
> > It's not Python, but it is kids programming, which seems to be a
> > list-theme as of late.
>
>
>
>
>
> ____________________________________________________________________________________
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
> http://farechase.yahoo.com/promo-generic-14795097
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>


More information about the Chicago mailing list