Should I switch to Linux or Mac?

  • Thread starter Thread starter LinuxMicrosoftMCSA
  • Start date Start date
  • Tags Tags
    Linux Mac Switch
Click For Summary
The discussion centers around the choice between a PC running OpenSUSE for coding and Ubuntu for gaming versus acquiring a Mac for coding and online gaming. It is noted that while Swift development requires a Mac and XCode, both Windows and Mac can support programming in languages like C++, Python, and Java. The misconception that Linux is the only viable option for these languages is addressed, emphasizing that commercial software compatibility is generally better on Mac and Windows compared to Linux, which may require virtual machines like Wine for certain applications. Users highlight their experiences with both Linux and MacOS, noting that development in Java and Python can be effectively done on both platforms. The conversation also suggests that resources and tools for programming in C++ and Python are available across all major operating systems, including MacOS.
LinuxMicrosoftMCSA
Messages
20
Reaction score
2
Hi,
For my next computer I either want a PC running OpenSUSE for coding and Ubuntu for gaming. I can code C++, Python, and Swift. I know that for Swift development you need a Mac computer. There's just no other way to code swift other than getting a Mac and XCode. But I know that Linux is pretty much required for coding the other languages that I mentioned (Java, Python, C++). I've grown up with Windows machines and I absolutely hate them. Linux and Mac both solve the problems that Windows has. I'm just debating with myself right now whether I should stick to a PC running a Linux distro in the future or get a Mac for coding and some online gaming. Thank you.
 
Computer science news on Phys.org
LinuxMicrosoftMCSA said:
But I know that Linux is pretty much required for coding the other languages that I mentioned (Java, Python, C++)

Both Windows and Mac have the capability to work with those languages. What caused you to think that only Linux is capable of compiling C++?

BoB
 
  • Like
Likes QuantumQuest and jedishrfu
One key issue is commercial software. You’re pretty much guaranteed that it will work on Mac or Windows but for sure not on Linux without some sort of VM like Wine.

Some examples include MS Office or Apple iTunes.

If you like Linux go for it. I use Ubuntu on one machine and have MacOS on another and switch between them depending on what I want to do. MacOS is somewhat quirky when installing some software (dmg vs tarballs) but the Unix style commands and scripting work similarly to Linux that we have no problem doing Linux development on both Mac and Linux machines interchangeably in Java and Python (anaconda distro)
 
  • Like
Likes QuantumQuest
LinuxMicrosoftMCSA said:
But I know that Linux is pretty much required for coding the other languages that I mentioned (Java, Python, C++).
I agree with @rbelli that this is absolutely not the case. I'm partial to Windows machines, myself, and program in C, C++, x86 assembly, Python, MIPS assembly, and am currently getting up to speed in Lisp.
 
  • Like
Likes jedishrfu
LinuxMicrosoftMCSA said:
I know that for Swift development you need a Mac computer.
[...]
I know that Linux is pretty much required for coding the other languages that I mentioned (Java, Python, C++)
Have you tried Google searches for:

macos c++
macos python
macos jdk [Java Development Kit]
 
Anaconda python works on all platforms of note, same for java and c++
 
I’ve spent nearly my entire life online, and witnessed AI become integrated into our lives. It’s clear that AI is apart of us now whether we like it or not, unless your a anti tech cabin lover. AI has some form of control over your life. But what I’ve seen very recently is that people are loosing their ingenuity and deciding to use AI. I feel as if it’ll bleed into STEM which is kinda has already and, every idea or thought could become fully reliant on AI. Yeah AI makes life easier but at a...

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
5K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 14 ·
Replies
14
Views
9K
  • · Replies 23 ·
Replies
23
Views
14K
Replies
60
Views
11K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
90K