I was contemplating switching to Linux for C++ development, coming from a Windows environment. Is this a bad idea? My workplace uses Windows and Visual Studio for our projects (some C# and java too, but right now I'm only developing in C++). If they decide to put me on a C# project, would development still possible (mono?)? What are the difficulties in this sort of transition?
Would I have a problem working on their projects and vice versa? I read somewhere that there'd be problems with precompiled headers and such (we do use them), and encodings (tabs/spaces, line endings, etc)..
If it's not too hard to do this switch, how do I get started? IDE? vim+make?
Thanks.
By the way, we make MOSTLY windows software..
EDIT: Thanks guys, I guess that makes sense..
The open-source operating system , Linux is often the default choice for developers. The OS offers powerful features to developers. The Unix-like system is open to customisation, allowing developers to change the OS as per there needs.
It can run great on older hardware, as typically Linux doesn't affect system performance as much as macOS or Windows 10. But now for the biggest reasons to switch to Linux in 2021. Security and privacy. Apple and Microsoft are both sniffing out your activities.
Disadvantages of Using LinuxIt is a bit more difficult to find distributions of Linux where you have vendor support. Much of the commercial desktop software does not run on Linux. It has gotten better, but there is still a pretty steep learning curve to move to Linux from Windows, or even MacOS.
It's much easier to use than you think Linux is easy to install (much easier than installing macOS or Windows in my opinion), Linux is easy to use, it's easy to find good applications, there are many simple user environments available and there is a lot of information and support available.
That's a bad idea. I can see at least two reasons :
Stick with Windows if you're developing for C++ and C#. The Visual Studio debugger is absolutely brilliant, and it seems that most of the Linux IDEs aren't comparable (except Eclipse for Java stuff). Also, the chances are that you'll be using a different compiler if you're on Linux, and that can cause really weird bugs.
I'm a Mac user (former FreeBSD guy), so I understand your gut feeling. In short: you're going to want to use Visual Studio. It's the best tool there is for your C# projects, period. It's also the best tool for your Windows-centric C++ programming. Even if it wasn't, your testing is going to suffer if you don't run the OS it's going to run on.
On the bright side, always do your development in a virtual machine. Especially on Windows. Use source control and take frequent snapshots of your VM. When you're doing this, it doesn't matter if you run Linux or OS X on your host.
Cheers
Nik
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With