开发者

pypy

0
  • what is statically typed in RPython?

    It is often stated that RPython (a subset of Python) is statically typed. (E.g. on Wikipedia.) Initially, I wondered how they would add that to Python and t开发者_如何学JAVAhought that they might hav[详细]

    2023-03-30 06:24 分类:问答
  • PyPy significantly slower than CPython

    I\'ve been testing a cacheing system of my making. Its purpose is to speed up a Django web application. It stores everything in-memory. According to cProfile most of the time in my tests is spent insi[详细]

    2023-03-28 07:41 分类:问答
  • PyPy C/API access

    I\'ve been looking through the reference docs and can\'t find any mention of a C API for PyPy. Does it exist? If so is 开发者_StackOverflow中文版it the same as the CPython C API? If PyPy was run on to[详细]

    2023-03-20 02:59 分类:问答
  • Recent-ish changes to the Python execution model?

    I just re-read the section on execution models in the 3rd edition of Learning Python (late 2007), and it felt fairly tentative. So, I looked at the same section in the 4th edition (late 2009) and was[详细]

    2023-03-19 06:22 分类:问答
  • Is fstat() a safe (sandboxed) operation?

    I\'m currently writing a Python sandbox using sandboxed PyPy. Basically, the sandbox works by providing a \"controller\" that maps system library calls to a specified function instead. After following[详细]

    2023-03-18 10:32 分类:问答
  • PyPy - SWIG - QuickFix mix

    PyPy has some compatibility limitations, especially regarding the CPython C API. I use QuickFix package which comes with precompiled SWIG bindings, and I\'m considering using it with PyPy. As I am no[详细]

    2023-03-17 18:03 分类:问答
  • Installing Python eggs under PyPy

    How do I install Python egg under Py开发者_开发技巧Py? During installation, PyPy created /usr/lib64/pypy-1.5/site-packages/ directory. So, I tried using easy_install with prefix set to this directory[详细]

    2023-03-03 00:33 分类:问答
  • Where is the pypy package in installed pypy-c

    I have pypy-c installed with macports (latest version : pypy @1.4.1). I run pypy-c and try to import pypy[详细]

    2023-02-17 19:27 分类:问答
  • Guidelines to write fast code for PyPy's JIT

    PyPy\'s JIT can make Python code execute much faster than CPython. Are there a set of guidelines for writing code that can be optimised better by the JIT compiler? For example, Cython can compile some[详细]

    2023-02-17 05:09 分类:问答
  • Specifying installed native library paths during pypy translate

    I am trying to build the latest pypy repo on a Mac machine. One of the needed libraries, libintl, is installed in $HOME/opt/local/lib. I run (using a previously built pypy-c),[详细]

    2023-02-16 06:38 分类:问答