4 ms·
The wider .NET ecosystem is lacking when trying to step out the mainline. I don't bother hunting for unused, partially implemented .NET libraries anymore and ju
by mythz 11mo ago
The wider .NET ecosystem is lacking when trying to step out the mainline. I don't bother hunting for unused, partially implemented .NET libraries anymore and just call out to a process or API call when needing to get something done.
It's not ideal, but when there isn't a good option isn't available in .NET it's usually available in Python/npm. Typically I'll use background jobs when calling out of process for added resiliency/replayability and observability.
- thiago_fm 11mo agoThis looks like ChatGPT. There are PLENTY of alternatives on the post. Python and others have similar issues, with them having limitations as well
- mythz 11mo agoIt wouldn't be a quest if there were lots of good options, a few good options is better than lots of unused/unmaintained ones.
- cm2187 11mo agoNot sure I agree. Also depends of the domain. The python ecosystem is of course a lot richer for anything AI. But try to open, manipulate and export spreadsheets. In python you pretty much need a different library for every excel file format (xls, xlsx, etc) and usually the more file formats a library can handle, the least capable it is (eg pandas). In .net you have libraries like spreadsheetgear that are super powerful, including their own excel calculation engine. I see nothing remotely close in python.
- exyi 11mo agoThe point is that a good library usually exists for some language, which is not necessarily the one you are currently using. IMHO, we don't lack good libraries in XY, we are lacking good interop. Going through REST or stdio is quite painful just to render PDF (or export spreadsheet, ...)
- cm2187 11mo agocough cough... COM
- pjmlp 11mo agoThere is hardly anything that isn't available in .NET, the main problem is being willing to pay for tooling.
- mythz 11mo agoI'm using of a lot of ComfyUI Workflows, Custom Nodes, Image and Audio classifiers relying on PyTorch, supervision, ultralytics, MediaPipe, OpenCV, onnxruntime, pandas, numpy that says otherwise. There are some equivalents, but the ecosystems aren't playing in the same ballpark.
- pjmlp 11mo agoLast time I checked, There is hardly anything, doesn't mean there aren't any libraries left covering. And even so, there are .NET bindings for a few of those libraries like PyTorch, OpenCV and ONNX Runtime.
- mythz 11mo agoYou're misrepresenting reality, companies aren't choosing .NET for their AI workflows. There's nothing like ComfyUI, the ecosystems are worlds apart, it's not even close.
- pjmlp 11mo agoYour distorting my words, I haven't said anything specific about AI or world domination via NET. Only that there are plenty of use cases coverage, moreso when willing to actually pay for tooling. I never mentioned that .NET was on the world domination path for AI libraries. If folks rather use an interpreted language, CPU vendors will appreciate it.
- mythz 11mo ago> There is hardly anything that isn't available in .NET, the main problem is being willing to pay for tooling. Here you're saying .NET has nearly everything, you just need to pay for it sometimes. > And even so, there are .NET bindings for a few of those libraries like PyTorch, OpenCV and ONNX Runtime. As apparently AI is no problem for .NET either since it has some bindings. So I really didn't need to use Python if I was prepared to pay for some tools as "There is hardly anything that isn't available in .NET" - misrepresent the situation much? As if that does anything to help the different Python packages you need. Yeah you could rewrite every Python package built on top of it, or you know, shell out to a process or API.
- eXpl0it3r 11mo agoIs this for your personal workflow, or for applications that you ship? How do you handle deployment / packaging of multiple, different ecosystems?