In theory you can use ikvmc to compile the Java source files into a .NET DLL
that references some IKVM DLLs and an ikmvc'ed version of OpenJDK's
classlib.  After that it is a plain .NET DLL and one could write a .NET
centric API using that DLL.

 

I haven't really tried it on anything serious and it may become tricky if
reflection gets involved.  And there is some layer of indirection you
wouldn't have by a line by line translation that may lead to decreased
performance.  I'd be game to try it out, though.

----

 

A few yers ago, I tried IKVM with ~300M (200-300 bytes) documents. It was
surprisingly as fast as Lucene.Net. That may mean that we should fix
something in the code. 

 

Reflection is another nice thing in IKVM. You can even load and execute Java
classes J

 

DIGY

 

Reply via email to