News for hackers. Stuff that matters.
Re:Garnet – A new remote cache-store from Microsoft Research by mdaniel on Tuesday March 19, 2024 @12:36PM (#39757544)
For a while there I had high hopes that one could pull in Java libraries via their JVM interop on top of the Common Language Runtime, but it doesn't seem to have caught on and I'm not in that ecosystem enough to know why. But yes, for the many excellent reasons you cited it means the library ecosystem is nowhere near that of the JVM, and thus I haven't once considered .net for a new project regardless of how much I love C# the language. Well, that, and my experience with the observability and introspection components of the JVM are second to none
Re:Garnet – A new remote cache-store from Microsoft Research by CharlieDigital on Tuesday March 19, 2024 @01:48PM (#39758394)

    > the library ecosystem
I don't really see many gaps. There tends to be fewer libraries, but the libraries available generally feel more complete and well thought out because users tend to cluster around the known libraries.

Many of the first party libraries are really, really good. EF Core is a prime example of possibly one of the best ORMs on the market right now in terms of productivity, ergonomics, and performance.

Re:Garnet – A new remote cache-store from Microsoft Research by mdaniel on Tuesday March 19, 2024 @01:55PM (#39758478)
> I don't really see many gaps

isn't that the "works on my machine" of this discussion? What's the Apache Tika for .net then? I don't mean, pdf parsing, I don't mean .docx parsing, I mean a framework for interacting with all their supported types <https://tika.apache.org/2.9.1/formats.html> with one surface area?

Re:Garnet – A new remote cache-store from Microsoft Research by CharlieDigital on Tuesday March 19, 2024 @02:33PM (#39758840)
Re:Garnet – A new remote cache-store from Microsoft Research by mdaniel on Tuesday March 19, 2024 @02:42PM (#39758913)
> https://github.com/KevM/tikaondotnet/releases/tag/v1.17.1 - Apr 3, 2018

You're right, how silly of me, I'll install some rando's 6 year old build of it right away. But in seriousness, that readme did remind me of the thing I was thinking of: http://www.ikvm.net/userguide/ikvmc.html

Re:Garnet – A new remote cache-store from Microsoft Research by CharlieDigital on Tuesday March 19, 2024 @04:45PM (#39760024)
Maybe your question is the wrong one to ask. My inclination is that a package or library that isn't actively maintained has no utility. If that's the case, then the assumptions underlying that package are perhaps not relevant.

Personally, I'd say it is probably the case that there are better alternatives. Azure Document Intelligence being one of those. Sure, it can't handle the variety of formats, but again, we have to come back to the underlying assumptions: .docx, .pdf, and a few handful of formats probably covers 99% of business use cases. Everything else would be considered niche.

Re:Garnet – A new remote cache-store from Microsoft Research by neonsunset on Tuesday March 19, 2024 @03:15PM (#39759237)
The entirety of Apache ecosystem pretty much mandates using Java or you are being left out with no or at best second-citizen experience. It's not a fault of every other language, but of that particular ecosystem itself.

There are exceptions in the form of well-written community-maintained libraries, but these exist for minority of Apache projects and vary a lot between languages.

Luckily, there are often (but not always) plenty of alternatives to whatever it is that you seek from Apache.