<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
However, CPython doesn't have a JIT compiler, and that's one of the biggest<br>
drawbacks for (something like) ctypes. There's a reason we compile real<br>
code in Cython, not just a thin glue layer. So, if you want something<br>
that's usable outside of PyPy, you will have to come up with something<br>
that's useful in CPython as well.<br>
<div class="im"><br></div></blockquote><div> </div><div>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.</div>
</div>