Re: Converting Python code to C/C++

2009-06-24 Thread Carl Banks
On Jun 24, 7:10 am, Grant Edwards wrote: > On 2009-06-24, Couper, Tim T wrote: > > > Your prof. may find this thread of interest > > >http://mail.python.org/pipermail/python-list/2000-June/039779.html > > > My experience is that developers who know C and C++ can be productive in > > less than 1 w

Re: Converting Python code to C/C++

2009-06-24 Thread Neuruss
On 23 jun, 12:49, Kurt Smith wrote: > On Mon, Jun 22, 2009 at 9:49 PM, Andras > > > > > > Pikler wrote: > > Hi! > > > Short: I need to turn a Python program that I (mostly) wrote into C code, > > and I am at a loss. > > > Long: I’m doing research/programming for a professor, and we are working > >

Re: Converting Python code to C/C++

2009-06-24 Thread Grant Edwards
On 2009-06-24, Terry Reedy wrote: > Your professor should wait until your Python version is complete and in > final form and until a C version is needed. Then hire someone competent > in both languages to do the translation. Professor... hire... Good one! :) -- Grant Edwards

Re: Converting Python code to C/C++

2009-06-24 Thread Terry Reedy
Short: I need to turn a Python program that I (mostly) wrote into C code, and I am at a loss. Now, my professor would like to have this exact code in C/C++, as she believes C is more compatible with MATLAB, and wants the code to be available in multiple languages in case a programmer works f

Re: Converting Python code to C/C++

2009-06-24 Thread Scott David Daniels
Couper, Tim T wrote: ... My experience is that developers who know C and C++ can be productive in less than 1 week in python, and find it liberating, and educational, to do so. And at the same time they will have added a second language to their toolbox. As Kurt points out, learning C/C++ takes c

Re: Converting Python code to C/C++

2009-06-24 Thread bobicanprogram
On Jun 23, 11:49 am, Kurt Smith wrote: > On Mon, Jun 22, 2009 at 9:49 PM, Andras > > > > Pikler wrote: > > Hi! > > > Short: I need to turn a Python program that I (mostly) wrote into C code, > > and I am at a loss. > > > Long: I’m doing research/programming for a professor, and we are working > >

Re: Converting Python code to C/C++

2009-06-24 Thread Grant Edwards
On 2009-06-24, Couper, Tim T wrote: > Your prof. may find this thread of interest > > http://mail.python.org/pipermail/python-list/2000-June/039779.html > > My experience is that developers who know C and C++ can be productive in > less than 1 week in python, and find it liberating, and education

RE: Converting Python code to C/C++

2009-06-24 Thread Couper, Tim T
thon. Dr Tim Couper -Original Message- From: python-list-bounces+tim.couper=standardbank@python.org [mailto:python-list-bounces+tim.couper=standardbank@python.org] On Behalf Of Kurt Smith Sent: 23 June 2009 16:50 Cc: python-list@python.org Subject: Re: Converting Python code to C/C++

Re: Converting Python code to C/C++

2009-06-23 Thread Kurt Smith
On Mon, Jun 22, 2009 at 9:49 PM, Andras Pikler wrote: > Hi! > > > > Short: I need to turn a Python program that I (mostly) wrote into C code, > and I am at a loss. > > > > Long: I’m doing research/programming for a professor, and we are working > with MIDI files (a type of simple music file). The r

Converting Python code to C/C++

2009-06-22 Thread Andras Pikler
Hi! Short: I need to turn a Python program that I (mostly) wrote into C code, and I am at a loss. Long: I'm doing research/programming for a professor, and we are working with MIDI files (a type of simple music file). The research deals with generating variations from a musical melody; current