Hi again
PyPy has functions to parse C headers to get macros and constants so I could
create C functions to wrap the macros and probably inline constants in the
Python part of the wrapper. This doesn't solve the problem of ifdefs but
this is a start.
Cheers
Romain
2011/4/7 Carl Witty
>
people to
port their Cython code to PyPy.
For the moment I've been mostly in touch with the PyPy people and they
seem happy with my proposal.
Of course I'm available for questions.
Cheers
Romain
___
cython-devel mailing list
cython-d
t can be rather inefficient though
since we need to do an if/else to compare the value we want to set with
every C globals).
Do you think I'm on the right way ?
Thanks
Romain
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.
traversing the function call, I
would like to get the function declaration node.
Is there already something to do that ?
Cheers
Romain
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel
On Tue, May 24, 2011 at 06:56:19AM +0200, Stefan Behnel wrote:
> Romain Guillebert, 23.05.2011 20:33:
> >I'm doing the PyPy backend for Cython Summer of Code project and I would
> >like to know if there is a way of getting the AST Node responsible for
> >the declaration
ot;external" declarations? I
> guess so, even if they may be shared between modules.
There's 2 possibilities I think :
- For each file we generate the wrapping functions
- For each pxd file, generate a file containing the wrapping functions
Romain
Hi
I've posted and article on my blog that explains what I've done during
the community bonding period and the first week of the Google Summer of
Code :
http://rguillebert.blogspot.com/2011/05/cython-backend-aiming-pypy-week-1.html
Che
Hi
I've posted and article on my blog that explains what I've done during
the community bonding period and the first week of the Google Summer of
Code :
http://rguillebert.blogspot.com/2011/05/cython-backend-aiming-pypy-week-1.html
Che
Hi
I've posted and article on my blog that explains what I've done during
the community bonding period and the first week of the Google Summer of
Code :
http://rguillebert.blogspot.com/2011/05/cython-backend-aiming-pypy-week-1.html
Che
t libraries
> like this: '# distutils: libraries = spam eggs' at the top of the
> file.
>
> Cheers,
>
> Mark
Hi Mark
For the moment, I try to handle the standard case : call a function with
C basic types, then add structures and pass by poi
Hi
I summarized the second week of my Summer of Code project in this blog
post:
http://rguillebert.blogspot.com/2011/06/cython-backend-aiming-pypy-week-2.html
Cheers
Romain
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org
Hi
I created a blog post summarizing what I've done the last few weeks on
the Cython backend aiming PyPy.
It's located at this URL :
http://rguillebert.blogspot.com/2011/07/cython-backend-aiming-pypy-status.html
Cheers
Romain
___
cython-dev
Cython/Compiler/ExprNodes.py
Is this useful (since I don't think it has anything to do with
expression analysis) and do you have an idea on how I can solve this (my
first idea is : extend the class to disable the effect of this method
but it's more a hack than anything else) ?
Che
Hi
I tried to compiled Demos/primes.pyx using the ctypes backend and I
think I've found a bug :
The Entry for the kmax parameter does not set is_arg to 1. However if I
turn the def into a cdef, it works fine.
Is this a bug or a known hack ?
Thanks
R
esponding to a macro
- Pointer to functions
Some of them are trivial, others just require good ideas and macros
demands a big amount of work.
I'm still working on it and if someone wants to give a hand, I'll be
happy to explain what I've done.
Thanks
Romain
_
Hi Stefan
On Fri, Sep 09, 2011 at 10:35:20AM +0200, Stefan Behnel wrote:
> Hi Romain,
>
> thanks for the feedback.
>
> Romain Guillebert, 08.09.2011 06:18:
> >The Google Summer of Code has ended and I didn't give the current status
> >to anyone yet (I was very b
ding modules is not
trivial, the entire program must be type-inferable (which probably isn't
the case of most Cython programs), global variables are considered
constants, and I think (don't quote me) that the JIT doesn't work on
rpython code.
I have no idea on the speedup/s
branch and run the test suite.
I think it's better to do c) but the test results shouldn't mix with the
results of the other backends.
What do you think ?
Romain
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.o
18 matches
Mail list logo