[pypy-dev] System calls in Java
niko at alum.mit.edu
Mon Dec 3 19:10:37 CET 2007
> there's been some discussion on Jython lists and some experimenting
> by JRuby
> people to use JNA (https://jna.dev.java.net/ ) which is a sort of
> ctypes for java,
> for this sort of purposes.
This is perfect! I just tried it out and it worked very well.
>> For things like the socket module I guess it would make more sense
>> to use some high-level java api that is more readily available.
> yes, also there's been lot of recent work in Jython to use java.nio
> to get select etc
> functionality in Jython. Is probably worth to look at it.
Definitely it makes sense where possible to use higher-level Java APIs.
More information about the Pypy-dev