3 ms·
I tried to write a little Linux utility that would walk the filesystem in C# a while back. It convinced me the language doesn't really support Posix systems af
by hedora 4y ago
I tried to write a little Linux utility that would walk the filesystem in C# a while back.
It convinced me the language doesn't really support Posix systems after all.
(Obviously, Linux software that's been written in C# exists; maybe I was using the wrong standard library or something. I went with whatever Microsoft's documentation suggested.)
- icambron 4y agoYeah, this is mistaken. At my last job we deployed tons of c# on Linux. The .net ecosystem is a little complicated because of the slow convergence of its std library and runtime (.net core, .net standard, .net framework, .net), but as of a few years ago a bog-standard .net app did everything you’d expect on any computer.
- spoils19 4y agoI'd rather believe hedora who has given a concrete example, sorry.
- blandflakes 4y agoWe've been running a production web service on .NET core on Linux for over a year. We develop, compile, and test this service in macs, build the docker containers on linux, and run on Linux.
- pie_flavor 4y agoI define 'concrete' a bit more strictly than 'I tried it and it doesn't work'. No description of what kind of strange behavior was observed. That ticks over between the likelihood Microsoft got their code wrong and the likelihood insert random HN user got their code wrong.