Smiley, David W. (DSMILEY) wrote:
Reading some blog entries at ikvm.net... It would seam that ikvm is CLS compliant. Otherwise you wouldn't be able to use it from C# (which you can).
It is, but Lucene itself relies on classes in java's system libraries. That means you need to install the IKVM runtime and the GNU classpath implementation before you could run Lucene under IKVM.
You don't actually need the JVM itself installed, and you can still debug stuff in Visual Studio (assuming someone wrote a debug environment for IKVM in Visual Studio; I don't think there is one, but it's possible).
The "problem" is that, as I said, in addition to Lucene, you'd also need the IKVM runtime, which while not as big as the full JVM, is still pretty big. It also means that if I wanted to make customisations of Lucene (which I believe is not an insignificant number of people) I would have to learn Java, make the change in Java, then re-compile using IKVM to get it back in .NET.
I guess it just depends on your particular needs. There's a case for using Lucene.NET and there's a case for using IKVM. Like anything in software, they both have their pro's and con's :-)
Dean.
