4 ms·
Funnily enough I was thinking an almost identical thing this morning. We had IKVM [0] for.NET, which if I understood it correctly allowed Java to run on the CLR
by UglyToad 7y ago
Funnily enough I was thinking an almost identical thing this morning. We had IKVM [0] for.NET, which if I understood it correctly allowed Java to run on the CLR (I probably misunderstood this).
I'm not entirely sure why Microsoft don't build something official to run Java code on the CLR/.NET, is it a technical or legal limitation, or simply that there's no business need?
[0]: https://www.ikvm.net/ https://www.ikvm.net/
- Ididntdothis 7y agoIt would be huge if they implemented a way to run java libraries from .NET. Be it ikvm or something else. This would immediately open up huge amounts of very interesting libraries to .NET. For example Bouncy Castle or Lucene. Years ago I worked on a document search app. Wrote it in .NET but then almost all interesting libraries were in Java exclusively or with an outdated .NET port. Being able to use the up to date java libraries would have been huge. This experience alone makes me reluctant to use .NET. The Java ecosystem is just much broader.
- Nelkins 7y agoAn active fork of IKVM can be found here: https://github.com/jessielesbian/ikvm https://github.com/jessielesbian/ikvm Also re: using Java with .NET, there's also their Java Interop project which is used with Xamarin: https://github.com/xamarin/java.interop https://github.com/xamarin/java.interop
- lazeebee 7y agoIt seems Microsoft is doing .net Java introp: https://github.com/dotnet/csharplang/issues/2517 https://github.com/dotnet/csharplang/issues/2517