5 ms·
C# runs natively on Linux (have done for many years now). AFAIK even on Azure people prefer to run it on Linux machines (including the place I work for). Perfor
by cjblomqvist 3y ago
C# runs natively on Linux (have done for many years now). AFAIK even on Azure people prefer to run it on Linux machines (including the place I work for). Performance wise I believe it runs equal to faster. A lot of C# devs (majority) now work on none Windows machines (they were very quick to add support for the new Mac arch as well).
TLDR; C# the language is as good or even better on none-Windows nowadays.
- leetharris 3y agoThis is only true if you're talking about non-GUI apps. MAUI is trying to fix this but in my experience it has been a rocky start. But for backend and CLI stuff totally agree, works great on Linux
- generichuman 3y ago> This is only true if you're talking about non-GUI apps It is also true for GUIs if you're using Avalonia [0]. I use it to develop GUI apps on Linux, it works very well (Nothing I can show publicly, sadly). Obviously it doesn't use native controls, but it is a solid GUI framework. [0] https://www.avaloniaui.net/ https://www.avaloniaui.net/
- neonsunset 3y agoTo be fair, the only real good solution that works for native crossplat GUI applications is Flutter. Most other offerings always end up being worse one way or another than Avalonia/MAUI/Uno.
- distract8901 3y agoCLI is one of my biggest pain points with C# on Linux. A lot of the Console functions simply don't work because they're expecting an entirely different kind of console. Just clearing the screen doesn't work, you have to sneakily pass a "clear" string to the input stream, or something like that. Console drawing is an enormous pain. I went to a lot of effort to optimize my console writes to construct graphics quickly, and it just does not work on Linux. I'd have to switch to a curses type library and it just makes me sad :(