> > > However, CPython doesn't have a JIT compiler, and that's one of the biggest > drawbacks for (something like) ctypes. There's a reason we compile real > code in Cython, not just a thin glue layer. So, if you want something > that's usable outside of PyPy, you will have to come up with something > that's useful in CPython as well. > > Completely ignoring your other issues for now. No, this is not the major drawback for ctypes for me. I know people who would happily use something that works nicely on pypy and cpython without performance considerations. The problem is that ctypes is at the wrong level - you cannot do some things and that's where cython helps. Ctypes is also crazy and inconsistent and hard to use, this makes it even more problematic.
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev