[pypy-dev] PyPy JVM Backend
fijal at genesilico.pl
Sun Apr 29 12:02:38 CEST 2007
Carl Friedrich Bolz wrote:
> Hi Anto!
> Antonio Cuni wrote:
> > I agree, and this is why I mentioned the problem :-).
> > I think there are two ways to make it working:
> > 1) write a dummy CliFile (or JvmFile) subclass of stream, then
> > special-case that class in the backend to map directly to
> > System.Io.FileStream (or the Java equivalent)
> > 2) make CliFile or JvmFile real classes, using the interpret-level
> > bindings to forward the methods;
> This is indeed the solution that I had in mind. Of course I forgot that
> there are no interpreter-level bindings for Java yet, how hard would it
> be to get them? We will need them anyway later. And writing them might
> still be less work than writing the file descriptor implementation.
Part of it is a SoC anyway, so I don't think we care in what order SoC
is done. (and personally I think it makes sense to provide Java bindings
first and than to care about the translation).
More information about the Pypy-dev