News for hackers. Stuff that matters.
Re:Microsoft’s Ready to Contribute to OpenJDK by UglyToad on Thursday December 19, 2019 @01:43PM (#21837840)
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/

Re:Microsoft’s Ready to Contribute to OpenJDK by Ididntdothis on Thursday December 19, 2019 @02:13PM (#21838174)
It 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.
Re:Microsoft’s Ready to Contribute to OpenJDK by lazeebee on Thursday December 19, 2019 @01:54PM (#21837941)
It seems Microsoft is doing .net Java introp: https://github.com/dotnet/csharplang/issues/2517
Re:Microsoft’s Ready to Contribute to OpenJDK by Nelkins on Thursday December 19, 2019 @01:53PM (#21837931)
An active fork of IKVM can be found here: 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