Re: py2c - an open source Python to C/C++ is looking for developers

2020-04-11 Thread jared . h . lam
On Monday, July 30, 2012 at 6:27:04 AM UTC-7, manian...@gmail.com wrote: > I created py2c ( http://code.google.com/p/py2c )- an open source Python to > C/C++ translator! > py2c is looking for developers! > To join create a posting in the py2c-discuss Google Group or email me! > Tha

Re: py2c - an open source Python to C/C++ is looking for developers

2015-01-09 Thread sirak2010
On Monday, July 30, 2012 at 6:27:04 AM UTC-7, Ramchandra Apte wrote: > I created py2c ( http://code.google.com/p/py2c )- an open source Python to > C/C++ translator! > py2c is looking for developers! > To join create a posting in the py2c-discuss Google Group or email me! > Tha

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-02 Thread Ramchandra Apte
On Sunday, 2 September 2012 12:53:35 UTC+5:30, Serhiy Storchaka wrote: > On 02.09.12 06:15, Ramchandra Apte wrote: > > > It converts to *pure* C/C++ *without* using Python or its API so that it > > can be the same speed as C/C++ > > > > How is it implemented long integers? py2c has been jus

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-02 Thread Mark Lawrence
On 02/09/2012 07:16, Ramchandra Apte wrote: On Sunday, 2 September 2012 11:18:38 UTC+5:30, Michael Torrie wrote: On 09/01/2012 09:15 PM, Ramchandra Apte wrote: It converts to *pure* C/C++ *without* using Python or its API so that it can be the same speed as C/C++ Sounds like a fun projec

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-02 Thread Serhiy Storchaka
On 02.09.12 06:15, Ramchandra Apte wrote: It converts to *pure* C/C++ *without* using Python or its API so that it can be the same speed as C/C++ How is it implemented long integers? -- http://mail.python.org/mailman/listinfo/python-list

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-01 Thread Stefan Behnel
Ramchandra Apte, 02.09.2012 08:10: >> That's reason enough for it. Do you plan to port all the standard > python modules as well, though? > > Well, it should be quite easy because most of the _modules are either C > accelerator (which there is no need to port) or a C wrapper (which should be >

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-01 Thread Ramchandra Apte
On Sunday, 2 September 2012 11:18:38 UTC+5:30, Michael Torrie wrote: > On 09/01/2012 09:15 PM, Ramchandra Apte wrote: > > > It converts to *pure* C/C++ *without* using Python or its API so that it > > can be the same speed as C/C++ > > > > Sounds like a fun project for you. I hope you learn

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-01 Thread Ramchandra Apte
>That's reason enough for it. Do you plan to port all the standard python modules as well, though? Well, it should be quite easy because most of the _modules are either C accelerator (which there is no need to port) or a C wrapper (which should be trivial to port) -- http://mail.python.org/ma

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-01 Thread Michael Torrie
On 09/01/2012 09:15 PM, Ramchandra Apte wrote: > It converts to *pure* C/C++ *without* using Python or its API so that it can > be the same speed as C/C++ Sounds like a fun project for you. I hope you learn a lot doing it. That's reason enough for it. Do you plan to port all the standard python

Re: py2c - an open source Python to C/C++ is looking for developers

2012-09-01 Thread Ramchandra Apte
On Tuesday, 31 July 2012 18:16:27 UTC+5:30, Stefan Behnel wrote: > Stefan Behnel, 31.07.2012 07:23: > > > From a look at the source code, it seems hard to bring it together with > > > anything. It looks very monolithic. > > > > Hmm, sorry, I mixed it up with "2c.py", which is yet another of t

Re: py2c - an open source Python to C/C++ is looking for developers

2012-07-31 Thread Stefan Behnel
Stefan Behnel, 31.07.2012 07:23: > From a look at the source code, it seems hard to bring it together with > anything. It looks very monolithic. Hmm, sorry, I mixed it up with "2c.py", which is yet another of those Python-to-C compilers with an all too similar name. https://code.google.com/p/2c-p

Re: py2c - an open source Python to C/C++ is looking for developers

2012-07-30 Thread Stefan Behnel
alex23, 31.07.2012 02:16: > On Jul 31, 2:42 am, MaxTheMouse wrote: >> What is the difference between this and Shedskin? Shedskin being a >> (restricted) python-to-C++ compiler. (http://code.google.com/p/ >> shedskin/) Is the goal to be able to handle any python code or a >> subset? > > There's als

Re: py2c - an open source Python to C/C++ is looking for developers

2012-07-30 Thread alex23
On Jul 31, 2:42 am, MaxTheMouse wrote: > What is the difference between this and Shedskin? Shedskin being a > (restricted) python-to-C++ compiler. (http://code.google.com/p/ > shedskin/) Is the goal to be able to handle any python code or a > subset? There's also Nuitka, which is an unrestricted

Re: py2c - an open source Python to C/C++ is looking for developers

2012-07-30 Thread MaxTheMouse
On Jul 30, 7:27 am, maniandra...@gmail.com wrote: > I created py2c (http://code.google.com/p/py2c)- an open source Python to > C/C++ translator! > py2c is looking for developers! > To join create a posting in the py2c-discuss Google Group or email me! > Thanks > PS:I hope this

Re: py2c - an open source Python to C/C++ is looking for developers

2012-07-30 Thread andrea crotti
2012/7/30 : > I created py2c ( http://code.google.com/p/py2c )- an open source Python to > C/C++ translator! > py2c is looking for developers! > To join create a posting in the py2c-discuss Google Group or email me! > Thanks > PS:I hope this is the appropiate group for this me

py2c - an open source Python to C/C++ is looking for developers

2012-07-30 Thread maniandram01
I created py2c ( http://code.google.com/p/py2c )- an open source Python to C/C++ translator! py2c is looking for developers! To join create a posting in the py2c-discuss Google Group or email me! Thanks PS:I hope this is the appropiate group for this message. -- http://mail.python.org/mailman

Re: How to transfer data structure or class from Python to C/C++?

2008-12-21 Thread Aaron Brady
On Oct 16, 9:10 am, Hongtian wrote: snip > Not exactly. > In my C/C++ application, I have following function or flow: > void func1() > { > call PyFunc(struct Tdemo, struct &Tdemo1); > } > I mean I want to invoke Python function 'PyFunc' and transfer a data > structure 'Tdemo' to this fu

Re: How to transfer data structure or class from Python to C/C++?

2008-10-22 Thread Gabriel Genellina
En Tue, 21 Oct 2008 15:21:45 -0200, Aaron Brady <[EMAIL PROTECTED]> escribió: On Oct 21, 12:46 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: Hi Gabriel, Sorry, did you have some questions about it? No, that empty message was posted by mistake, sorry. -- Gabriel Genellina -- http://mail

Re: How to transfer data structure or class from Python to C/C++?

2008-10-21 Thread Aaron Brady
On Oct 21, 12:46 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Fri, 17 Oct 2008 20:03:44 -0300, Aaron "Castironpi" Brady   > <[EMAIL PROTECTED]> escribió: > > > > > On Oct 16, 9:10 am, Hongtian <[EMAIL PROTECTED]> wrote: > >> Not exactly. > > >> In my C/C++ application, I have following f

Re: How to transfer data structure or class from Python to C/C++?

2008-10-20 Thread Gabriel Genellina
En Fri, 17 Oct 2008 20:03:44 -0300, Aaron "Castironpi" Brady <[EMAIL PROTECTED]> escribió: On Oct 16, 9:10 am, Hongtian <[EMAIL PROTECTED]> wrote: Not exactly. In my C/C++ application, I have following function or flow: void func1() {     call PyFunc(struct Tdemo, struct &Tdemo1); } I

Re: How to transfer data structure or class from Python to C/C++?

2008-10-17 Thread Aaron "Castironpi" Brady
On Oct 16, 9:10 am, Hongtian <[EMAIL PROTECTED]> wrote: > Not exactly. > > In my C/C++ application, I have following function or flow: > > void func1() > { >     call PyFunc(struct Tdemo, struct &Tdemo1); > > } > > I mean I want to invoke Python function 'PyFunc' and transfer a data > structure

Re: How to transfer data structure or class from Python to C/C++?

2008-10-17 Thread Aaron "Castironpi" Brady
a newer of Python. I want to ask below question: > > > > I have a C/C++ application and I want to use Python as its extension. > > > To do that, I have to transfer some data structure from C/C++ > > > application to Python and get some data structure from Python to C/C++

Re: How to transfer data structure or class from Python to C/C++?

2008-10-17 Thread Aaron "Castironpi" Brady
a newer of Python. I want to ask below question: > > > > I have a C/C++ application and I want to use Python as its extension. > > > To do that, I have to transfer some data structure from C/C++ > > > application to Python and get some data structure from Python to C/C++

Re: How to transfer data structure or class from Python to C/C++?

2008-10-16 Thread Aaron "Castironpi" Brady
On Oct 16, 9:10 am, Hongtian <[EMAIL PROTECTED]> wrote: > Not exactly. > > In my C/C++ application, I have following function or flow: > > void func1() > { >     call PyFunc(struct Tdemo, struct &Tdemo1); > > } > > I mean I want to invoke Python function 'PyFunc' and transfer a data > structure

Re: How to transfer data structure or class from Python to C/C++?

2008-10-16 Thread Hongtian
te: > On Oct 15, 8:08 pm, Hongtian <[EMAIL PROTECTED]> wrote: > > > Hi friends, > > > I am a newer of Python. I want to ask below question: > > > I have a C/C++ application and I want to use Python as its extension. > > To do that, I have to transfer s

Re: How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread Aaron "Castironpi" Brady
plication to Python and get some data structure from Python to C/C++ > application. I have researched Python document, but the example only > describes how to transfer some simple data, such as integer,char, > etc. > > Could you please guide me to do that? or tell me some document to

Re: How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread bearophileHUGS
Hongtian: > Could you please guide me to do that? or tell me some document to have > a research? You can start googling for: - SWIG - Boost.Python - SIP - ctypes (built-in module) - And more. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

How to transfer data structure or class from Python to C/C++?

2008-10-15 Thread Hongtian
Hi friends, I am a newer of Python. I want to ask below question: I have a C/C++ application and I want to use Python as its extension. To do that, I have to transfer some data structure from C/C++ application to Python and get some data structure from Python to C/C++ application. I have

Re: Python to C/C++

2008-03-20 Thread Dan Stromberg
On Wed, 19 Mar 2008 10:24:16 -0700, Patrick Mullen wrote: > (sorry michael, didn't mean to personal post > > On Wed, Mar 19, 2008 at 9:24 AM, Michael Wieher wrote: > > I think py2exe does this, but it might be a bit bloated > > No, py2exe basically bundles the main script and the interpreter >

Re: Python to C/C++

2008-03-19 Thread Gabriel Genellina
En Wed, 19 Mar 2008 13:17:01 -0300, Blubaugh, David A. <[EMAIL PROTECTED]> escribió: > Has anyone worked with a translator that will translate python to c/c++ > source code? I know that there is already one translator of this nature > (shedskin compiler) out there. However, it

Python to C/C++

2008-03-19 Thread Patrick Mullen
(sorry michael, didn't mean to personal post On Wed, Mar 19, 2008 at 9:24 AM, Michael Wieher wrote: > I think py2exe does this, but it might be a bit bloated No, py2exe basically bundles the main script and the interpreter together so it's easy to run and requires no python installation. Loo

Re: Python to C/C++

2008-03-19 Thread Michael Wieher
I think py2exe does this, but it might be a bit bloated 2008/3/19, Blubaugh, David A. <[EMAIL PROTECTED]>: > > To All, > > Has anyone worked with a translator that will translate python to c/c++ > source code? I know that there is already one translator of this nature &

Python to C/C++

2008-03-19 Thread Blubaugh, David A.
To All, Has anyone worked with a translator that will translate python to c/c++ source code? I know that there is already one translator of this nature (shedskin compiler) out there. However, it is still in the beta stage of development. Does anyone know of a more developed version of a