2012/5/23 bookaa
> if platform.platform.cc.**startswith('mingw32'):
>
This is better written as:
from pypy.translator.platform import platform
if platform.name == 'minwg32'
See rlib/libffi.py for an example.
--
Amaury Forgeot d'Arc
___
pypy-d
Re Armin and fijal
I download last version of PyPy source pypy-pypy-4a38b43757e3.zip from
https://bitbucket.org/pypy/pypy
in MinGW32 (mingw-get-inst-20120426.exe), run:
pypy/bin/py.py --cc=mingw32-gcc
get error:
pypy.translator.platform.CompilationError: CompilationError(err=""
While looking at ways to optimize the Clojure-Py code
(http://github.com/halgari/clojure-py) for pypy, I'm noticing that
much of Clojure-Py could benefit greatly from giving purefunction
hints to the JIT. For example, let's look at the polymorphic Clojure
functions known as "protocols":
def Proto
Hi Bookaa,
On Wed, May 23, 2012 at 6:07 AM, bookaa wrote:
> ! includes = ['stdlib.h', 'stdio.h', 'sys/types.h', 'stdint.h']
The MSVC compiler before 2010 doesn't provide a 'stdint.h', so this
change would break it. You need to come up with a more complicated
solution.
Armin
__
Probably You can easily convert your application into wsgi compilant,
which can be run in long time running process (for example under
http://pypi.python.org/pypi/waitress/ server).
In that situation Your code runned under pypy could "warm up", and so
- can be optimized in runtime.
Could You post
Hi
If you reload the python interpreter for each CGI request, the JIT has
absolutely no chance to warm up. You need some sort of FastCGI solution
where the interpreter stays in the memory between requests
On Wed, May 23, 2012 at 10:20 AM, Sasikanth Eda wrote:
>
> Hai All,
>
> I have tried to per
Hai All,
I have tried to perform performance testing of a typical CGI-server Rest
based SNIA CDMI specifications and the results are as follows;
Python PyPy
16 KB (Object) PUT 196 ms 325 ms
64 KB (Object) PUT 176 ms 396 ms
1 MB (Object) PU
Hi
I don't know about the github mirror, the official one is on bitbucket.
Cheers,\
fijal
On Wed, May 23, 2012 at 6:07 AM, bookaa wrote:
> **
>
> I download last version of PyPy source from https://github.com/pypy/pypy
> in MinGW32 (mingw-get-inst-20120426.exe), run:
> pypy/bin/py.py --cc=