7

Can some of you tell me about your experience with developing C# on linux?
I still have an O'Reilly book laying around and was wondering, if its worth learning it as my next language.

Comments
  • 7
    I personally really like it, and have had a pretty good experience with it
  • 6
    After the release of dotnet core I stopped using Windows for dotnet XD

    I've gone all Linux since what was holding me back was the dotnet framework.

    I like its performance, good enough for my needs. Though on their github if you check their issues its not yet mature enough for large scale services. Though version 3 seems promissing
  • 4
    It's really good as long as you don't need WPF. Net Core 3 offers comability but if you use any of external libraries for visual effects they may be incompatible.
    But it's great. Especially using Rider.
  • 2
    @Agred WPF support is windows only or they changed that? I recall reading that it's a windows only feature, hope I'm wrong tho
  • 2
    @gitpush It's available, more or less, in early access NET Core 3. Tbh, I haven't tried it out yet since my only WPF app used incompatible dependencies, but there are even tutorials on how to port an app to Linux.
  • 2
    @Agred But doesn't WPF require DirectX which prevented them from porting it in the first place?

    I don't want to install preview release, don't really want to mess up my environment with multiple versions.
  • 2
    @gitpush I may be completely wrong and I don't want to lie to you. I'll try to build something very basic and will update you in several minutes.
  • 2
    @Agred Sorry I bothered you with this, but from their github: https://github.com/dotnet/wpf/...

    I think the ones we see online are 3rd party port of wpf
  • 2
    @gitpush It may be. I wanted to build anything quickly to check it out, but I'm afraid it's gonna take a while... My net is kind dead.
  • 2
    @FrodoSwaggins I'm curios about downsides of .net.

    I'm more into mobile development, and used .net only for my own projects not in a position to list downside of it. And for sure not comparing to C/C++ there is no need to even think who might be the winner here.
  • 2
    @Agred I know the feeling, have the same speed at night, during the day it goes up to 210KB/s lol
  • 3
    Avalonia for cross platform desktop apps and net core for cross platform web services\apps. Plus visual studio code.

    Can't complain with C# on Linux 😏
  • 2
    Short answer: YES
  • 2
    @FrodoSwaggins You reminded me, "I also think c# has way too many features that are only in there because it was a cool trick to be able to do and was some compiler engineers pet project" is the only reason why I am a bit disappointed, true saves time writing but limits the way we think.
  • 3
    I remember few years ago setting up Unity on Linux with vscode Intellisense was a bitch.
    Nowadays? Holy crap, seems like it's easier and quicker on Linux than Windows. Things have changed.
  • 2
    @gitpush Okay, so I checked and yes - I was entirely wrong. You can't build WPF/WinForm apps on Linux.

    I think I got confused because Rider gave me an option to create Desktop Application on Linux even though I can't build them. Sorry!
  • 2
    @Agred No worries man I really appreciate the fact you checked :D
  • 2
    @Agred @gitpush could've told you in advance ^^

    WPF uses DirectX and WinForms use the Win32 API/GDI+, both of which are Windows-only
Add Comment