Add to Chrome

Log In

Sign Up

Try Gigabrain PRO

Supercharge your access to the collective wisdom of reddit, youtube, and more.
Learn More
Refine result by
Most Relevant
Most Recent
Most Upvotes
Filter by subreddit
r/csMajors
r/C_Programming
r/AskProgramming
r/coding
r/docker
r/windows
r/cpp
r/vibecoding
r/CasualConversation
r/rit

Coding on Windows vs macOS

GigaBrain scanned 388 comments to find you 97 relevant comments from 10 relevant discussions.
Sort
Filter

Sources

Mac vs pc for coding
r/csMajors • 1
Are macbooks good for developers?
r/C_Programming • 2
Which is better, Mac os or Windows for coding?
r/AskProgramming • 3
View All
7 more

TLDR

Summary

New

Chat with GigaBrain

What Redditors are Saying

Coding on Windows vs macOS

TL;DR

  • macOS is preferred for its UNIX-based environment, which is similar to Linux.
  • Windows can be suitable with WSL (Windows Subsystem for Linux) but may have more setup overhead.
  • Choose based on personal preference and specific development needs.

UNIX-Based Environment

macOS is often favored by developers because it is a UNIX-based operating system, providing a native environment similar to Linux [1:1][2:6]. This makes it easier to use software development tools that are typically Linux-based [3:2]. The terminal experience on macOS is generally considered superior to Windows, especially for coding tasks that involve command-line operations [4:2].

Windows Subsystem for Linux (WSL)

While Windows has traditionally been less popular among developers due to its lack of native UNIX support, the introduction of WSL has improved its viability as a development platform. WSL allows users to run a Linux environment directly on Windows, which can mitigate some of the issues associated with using Windows for coding [3:1][4:10]. However, there can still be small headaches related to file handling differences and other quirks [3:2].

Docker Performance

Docker performance is a notable consideration when choosing between Windows and macOS. Docker runs in a Linux VM on both platforms, but macOS may face additional performance hits due to x86 emulation, particularly on ARM-based Apple Silicon devices [5:5][5:6]. Windows, with WSL, might offer better performance for Docker compared to macOS [5:4].

Personal Preference and Use Cases

Ultimately, the choice between Windows and macOS for coding often comes down to personal preference and specific use cases. Some users prefer macOS for its polished UI and seamless integration with other Apple products [2:1][4:4], while others find Windows more suitable for certain applications or gaming [4:7]. It's important to consider what you will be developing—certain areas like graphics programming might be problematic on macOS due to Apple's deprecation of OpenGL [2:5].

Recommendations Beyond Discussions

If you're undecided, consider dual-booting or running virtual machines to test both environments and see which suits your workflow best. Additionally, if budget is a concern, a Linux machine or a Windows laptop with Linux installed alongside could provide a cost-effective solution while offering flexibility in development environments [4:8].

See less

Helpful

Not helpful

You have reached the maximum number of searches allowed today.

Get faster answers with our extension.

The Gigabrain extension dives deep into billions of discussions, bringing you the most relevant and informative answers on the spot.

Add to Chrome

Source Threads

POST SUMMARY • [1]

Summarize

Mac vs pc for coding

Posted by [deleted] · in r/csMajors · 4 years ago
3 upvotes on reddit
7 replies
Helpful
Not helpful
View Source
ORIGINAL POST

Hey guys I’m in a little bit of a dilemma, I like apple products but have found out there not the best for college.

My question is why do you guys prefer to use do coding on macs or PCs.

7 replies
M
MagicalPizza21 · 4 years ago

Pretty much the only wrong choice is Windows. MacOS is in general nicer than whatever Linux distribution you pick, but Macs are much more expensive. So if money is no object I'd choose MacOS, but if you're on a tight budget you should consider a Linux machine.

Who says Apple products are "not the best" for college? I did a CS degree using mac laptops and did fine.

If you do use a mac for coding, make sure you get one with a physical escape key or you might have issues using vim.

6 upvotes on reddit
ramsncardsfan7 · 3 years ago

It’s easier to map escape to caps lock regardless

1 upvotes on reddit
daktotadogfan · 4 years ago

Mac is better for everything except creating video games. Although Linux might be better for c/c++ stuff. I just have all three.

3 upvotes on reddit
C
crysise · 4 years ago

having used Windows , linux I was always a big hater of Mac and used to tell that it was overpriced. However I was forced to use Mac and I must say I was ignorant. The overall coding environment is much better and usually the setup times and everything is significantly less than the other two platforms. If you are not doing anything specific to windows like gaming I'd say go with Macs. Unix based platform is the most important thing. That being said if you think its too expensive get a secondhand thinkpad and install linux that is also a good option

8 upvotes on reddit
N
NobleFraud · 4 years ago

I prefer mac after using al three as well.

8 upvotes on reddit
D
don_the_spubber · 4 years ago

I've used Linux, Windows, and Mac as my primary machine for development and daily life. I can confidently say that Macs are my favorite machines. MacOS is a UNIX based operating system, which IMO is the most important thing to look for in an operating system for developing software.

21 upvotes on reddit
pumasox · 4 years ago

This; plus you have the option to do iOS dev if you wanted to.

3 upvotes on reddit
See 7 replies
r/C_Programming • [2]

Summarize

Are macbooks good for developers?

Posted by theofps · in r/C_Programming · 5 months ago

Hey everyone, I just started classes at university as a computer engineering undergrad, and was wondering how a macbook air could handle my studies and in the future workload. My current doubt is if macOS is good for coding in C and other languages alike, because I see people leaning towards Linux and neglecting Windows but I dont understand the key differences between macOS and Linux. Can anyone help me?

24 upvotes on reddit
12 replies
Helpful
Not helpful
View Source
12 replies
J
Jomy10 · 5 months ago

I code on a MacBook. You can code on anything, really. Most tools that work on Linux also compile for macOS as well, so you won’t be missing out.

26 upvotes on reddit
theofps · OP · 5 months ago

Great, thanks! What languages or research areas do you think using a mac would be a problem?

1 upvotes on reddit
EatThatPotato · 5 months ago

In my undergrad the digital logic circuits class used software only available on windows, and sometimes things only run on x86 architectures but for general programming it’s fine

1 upvotes on reddit
S
skripp11 · 5 months ago

The problems you might run into early is that some of courses you take will be using either Windows or Linux. MacOS is POSIX compliant (look that up), but the base configuration of tools are different enough from Linux that it will very annoying to find a fix or different way of doing it. Some you can just download and install, but some don't work (valgrind being a very notable example).

You can always run virtual machines/emulator or remote into your home computer, but then what's the point of the MacBook?

I strongly advise you to go and talk to your teachers and ask them what they think you should use. Don't expect them to have special instructions for Mac unless they themselves are using one.

If you want to develop iOS apps then a Mac is definitely the best choice.

I use Mac and Linux about 50/50. People shit on Visual Studio a lot but it's the one single piece of software that I use Windows in a VM for. It's slow and bloated but has a lot of functionality.

2 upvotes on reddit
theofps · OP · 5 months ago

Understood, thanks! Do you know what language or research area using a mac would be a problem?

3 upvotes on reddit
sens- · 5 months ago

I don't recall any major issues with my work in contrast to windows. Every single time I have to do something on windows I stumble upon some very stupid and annoying design choices.

I guess you wouldn't do any serious game dev as I think it might be a problematic area. I've heard about some issues with tensorflow so if you want to focus on machine learning I'd check if it suits your needs. I don't know much about this field though.

Oh, and I do remember one major issue. FPGA development is pretty much non-existent on MacBooks, you'd probably have to use a VM for that. But it's a niche.

In my opinion it's a top-notch machine for serious programming let alone university classes.

10 upvotes on reddit
A
Auios · 5 months ago

Sometimes it does matter! I can't get certain CUDA drivers on MacOS 🫠

1 upvotes on reddit
[deleted] · 5 months ago

It is worth noting Apple depreciated OpenGL a while ago so if you’re a graphics programmer then MacOS is a big no-no because you’re forced into using Metal.

1 upvotes on reddit
monsoy · 5 months ago

MacOS is fantastic for development imo. MacOS is a POSIX compliant Unix operating system that uses the same terminal shell as Linux.

I use MacOS for C programming and it feels basically the exact same as developing on Linux. The only problem I encountered is that Valgrind (a popular tool to find memory leaks) doesn’t work for M-Series MacBooks, but it wasn’t a big problem for me since Mac has a similar tool called «leaks». For most intents and purposes, MacOS is a Linux like operating system with a polished User Interface.

The main difference in my eyes is that MacOS is a great product out of the box, while a Linux system has less restrictions in terms of customizing every part of the system.

12 upvotes on reddit
YakaryTaylorThomas · 5 months ago

Yeah, gotta disagree really. I use a MacBook every day all day. But WSL, an investment in a (albeit fledgling) package manager finally, and modern tiling window manager. Windows is pretty good these days - windows 11 is kind of awful, but de-bloat tools fix most of what I hate there.

1 upvotes on reddit
Ambrosios89 · 5 months ago

WSL, Virtual Machines, Containers, cross-compliation...

The host OS doesn't matter. What matters is what the target hardware or vendor toolchain supports and what it supports better if multiple options exist.

If you're just writing standalone C applications and compiling with something like gcc.... It's really an IDE question at that point.

If you're targeting a board to install it too, what tools exist for the OS you're using from the vendor.

If you're neck deep in a companies ecosystem, you're more likely to be bound to their environment instead of even having a choice in the first place.

It's for school, not explicitly restricted to a hardware platform.

1 upvotes on reddit
Comfortable_Salt_284 · 5 months ago

This is really the correct answer. OP, what matters is not what OS other people like but what OS *you* like.

A lot of people on this thread are saying that Mac is better than Windows because it's UNIX based and it has a better UI. I wanted to like Mac for those same reasons but found that I personally just don't like the Mac UI.

So now after going from Windows to Linux to Mac, I've come full circle back to Windows. It really doesn't matter. All of them have their strengths and all of them can be used to write code.

1 upvotes on reddit
See 12 replies
r/AskProgramming • [3]

Summarize

Which is better, Mac os or Windows for coding?

Posted by Fretlix1 · in r/AskProgramming · 1 year ago
010 replies
Helpful
Not helpful
View Source
10 replies
P
pragmojo · 1 year ago

Mac - it’s a Unix environment natively so you will have an easier time with software development tools which tend to be Linux-based.

Windows has WSL but it’s kind of bolted on, and you will have to deal with small random headaches with things like different handing of newlines in files, and back slash vs forward slash etc.

Basically Mac is more or less like native Linux development for all intents and purposes.

9 upvotes on reddit
Z
zarlo5899 · 1 year ago

WSL also has memory leak issues (i dont know why hyperv cant work out when it can clean up memory when things like QEMU can)

4 upvotes on reddit
[deleted] · 1 year ago

Whatever the target will be for the majority your work get that system. You can always use VMs for the other.

10 upvotes on reddit
L
Lumpy-Notice8945 · 1 year ago

If you develop desktop applications for either, use that. In any other case it does not matter.

10 upvotes on reddit
Fretlix1 · OP · 1 year ago

So, i can make .exe apps on mac?

-5 upvotes on reddit
L
Lumpy-Notice8945 · 1 year ago

In theory yes, but its not easy, thats why im saying, if you develop windows apps use windows.

11 upvotes on reddit
L
LurkerOrHydralisk · 1 year ago

Linux

10 upvotes on reddit
Fretlix1 · OP · 1 year ago

Ah yes,

2 upvotes on reddit
JustaRandoonreddit · 1 year ago

I use arch btw

2 upvotes on reddit
T
terrorTrain · 1 year ago

Mac has been the best in my experience because most nix based commands work natively in the terminal. But you still get all the niceties of a very polished OS.

Linux is better, but using it as a daily driver eventually got annoying, especially on a laptop. Battery management was terrible, and a lot of tooling isn't available for Linux.

Windows is ok if you just. It basically creates a virtual machine that runs Linux for you. So your actually developing with Linux usually, but with a bunch of abstraction that gums up the works a bit.

5 upvotes on reddit
See 10 replies
r/coding • [4]

Summarize

Is better macOS or windows?

Posted by Longjumping_Habit138 · in r/coding · 2 years ago

I am gonna start college mastering in coding and I was about to buy a computer for it. However, I’m stuck wether I should buy a Mac or windows. I researched on the internet and it says macOS but I’m not really sure, that’s why I’m asking to you guys cause who can answer me better than programmers?

b.com
012 replies
Helpful
Not helpful
View Source
12 replies
jiltanen · 2 years ago

I think it depends on what you are doing and mostly on your personal preference. I personally prefer MacOs or Linux over Windows, because of better terminal experience. WSL is okay, but it crashes sometimes when running vscode.

7 upvotes on reddit
HeheITisWhatItis · 2 years ago

MacOS is based on linux;) but windows is better with work and gaming

0 upvotes on reddit
jiltanen · 2 years ago

No it’s not, MacOs is Unix-variant from BSD-family and Linux is Unix-clone.

8 upvotes on reddit
tissn · 2 years ago

Programming is a lot easier on a Unix platform than it is on Windows. Which is why people recommend you get a Mac over PC/Windows. But Mac is crazy expensive. I'd recommend you instead buy a cheap but decent laptop running Windows, and then also install Ubuntu on that same laptop alongside Windows (dualboot). Then you can have the best of both worlds, and can take your time learning Unix through Ubuntu but also having the comfort of Windows if you're more familiar with that.

10 upvotes on reddit
A
ArkyBeagle · 2 years ago

Programming is a lot easier on a Unix platform than it is on Windows.

A lot? Eh. :)

https://www.cygwin.com/

It's not perfect. You can have both at the same time :) And there's always Virtualbox.

Just enumerating options.

1 upvotes on reddit
NeatCarrot468 · 2 years ago

I have to mention that Macs tend to last much longer than any Windows laptop (or non-Apple computer) which makes it not more expensive than other less expensive computers in the long run (I know of a macbook pro that was bought in 2014 and was given away in 2022 in still working condition with decent battery life considering).

They are beautiful devices and if you already use Apple products, getting a macbook is a no brainer cos the Apple ecosystem (walled as it maybe) just works really well. You can still use run Linux as VM on your Mac (but not the other way around).

Apple silicon macs have only made an even bigger case than ever to choose macs. They have insane performance relative to Intel/Amd processors and at the same time crazily power efficient (and dont run hot).

Edit: Macs and macbooks are interchangeable terms in the context of this comment.

1 upvotes on reddit
KallistiOW · 2 years ago

this probably borders on holy war but i'd say get a mac since it's closer to linux and WSL kinda blows

3 upvotes on reddit
ExecutiveChimp · 2 years ago

If you want something close to Linux there's always Linux.

6 upvotes on reddit
KallistiOW · 2 years ago

as a 15+ year linux user, I would say for OP's purposes, get a mac

when you're a professional, you need your tools to "just work" and you don't have time or money to be fiddling with DIY bullshit when you're in the middle of a conference room.

been there, done that, save yourself the headache, use linux in your own office or in your home, but if you're smart you'll keep a non-linux machine around too, and I really can't recommend windows in good faith to anybody post-win10.

edit: in OP's case, if he wants to learn, get a linux machine, if he wants to make a career, get a mac

3 upvotes on reddit
T
TankorSmash · 2 years ago

WSL2 is actually dope. It's as good as actual linux (since it literally is) and now with Windows 11 you get GUI support.

1 upvotes on reddit
C
crackez · 2 years ago

Don't even dual boot, just run Linux.

2 upvotes on reddit
swiftybrucman · 2 years ago

If you’re using an ide for coding then it really doesn’t matter. When you start to get into terminal stuff I prefer mac

2 upvotes on reddit
See 12 replies
r/docker • [5]

Summarize

Docker Performance on Windows vs Mac

Posted by EventCompetitive7718 · in r/docker · 3 months ago

Hi folks,

pretty new to using Docker and currently started to use it for local development for WordPress. I found that it runs pretty slow on windows natively and I went down the route of using WSL to improve the performance.

I know that programmers swear on using Mac for programming. Would Docker perform better on Mac without any additional software as a sub system?

Thanks in advance!

9 upvotes on reddit
12 replies
Helpful
Not helpful
View Source
12 replies
thedizzle999 · 3 months ago

Real programmers don’t “swear“ on MacOS. Content creators might love it (it’s great for recording/video editing) but definitely not your average SW dev. MacOS is great for creators and schoolchildren, but the average dev will spend far too much time trying to get around Apple’s walled kindergarten restrictions to do useful work. A Linux OS with lesser specs will almost always outperform most MacOS device for dev work.

Id recommend docker on Linux (or at least WSL).

4 upvotes on reddit
M
miracle-meat · 3 months ago

Docker runs on Linux, so it will run inside a VM in both scenarios.
One big issue issue is file sharing between the host (Mac/Win) and the guest (Linux) is slow and even buggy.
On Windows, you can pretty much eliminate the issue by working on your projects solely within WSL (the guest).
On Mac there are ways to improve file sharing performance, like mutagen, but that can get complicated and you will end up with weird issues.

It’s a shame no one is porting the required stuff to make Docker truly work natively on Mac because that would make them the absolute best dev machines (that and unsoldered ram/ssd).

In the mean time, my advice is to use windows as an office computer and use WSL for any dev work.

2 upvotes on reddit
B
BiteFancy9628 · 3 months ago

Docker runs ONLY on Linux. On both Windows and Mac it runs in a Linux vm no matter what. Same with podman. Doesn’t matter if you use docker desktop, podman desktop, rancher desktop, or orbstack on Mac. All VMs. WSL 2 is also a vm. So in WSL you can install docker cli. Same with orbstack or Colima vm whether cli only or gui on Mac. You can install docker or podman cli inside.

Performance wise I prefer to install docker cli inside WSL 2 on Windows. No license cost and I do find performance better. It’s probably just because there is a lot of overhead with those gui apps. On Mac I would do the same inside an orbstack cli vm that is equivalent to WSL. This also gives the appearance of working on real Linux and not a different os on the host. I do this because the stuff that happens inside a container is only a portion of my work. I also have Makefiles and shell scripts and devcontainers and docker compose files. I’d prefer to avoid the syntax and context switching of having Ubuntu or Debian or Alpine with sh or bash inside the container, but Powershell or Mac Unix zsh outside. Presuming a pure Linux environment top to bottom is just easier and I can standardize for my whole dev team with day one setup scripts. If people are allergic to cli or just prefer a gui they can use portainer in the browser as a web app that itself is a docker container. Or their preferred ide with a docker extension.

In terms of Windows vs Mac performance it’s a never ending debate. Mac hardware is better and more powerful usually than equivalent priced Windows hardware. But it’s also expensive for more ram and that may be more important. And it’s ARM, so you occasionally run into weird issues with docker because of packages in Linux that are AMD/Intel/x86_64 only. But if you run into that it’s easy to work around. Orbstack lets you run x86_64 VMs and docker inside using Rosetta even if a little slower. Even easier Orbstack or any docker on Mac allows a flag to run an x86_64 container instead directly if you prefer.

tldr; any performance issues you see on either are probably the crappy bloated docker desktop. Just use cli only preferably in a vm or wsl.

Lastly, there is one exception to the above. Windows containers are evidently a thing but no one knows anyone who has ever used them. They’re just Microsoft’s attempt to stay relevant by mapping some docker compatible commands to something akin to lightweight VMs. They work totally differently from Linux containers under the hood and I don’t really consider them containers.

26 upvotes on reddit
S
sublimegeek · 3 months ago

God. I use windows containers and they’re a pain when they don’t work. When they do work, they are way way heavier than they need to be.

2 upvotes on reddit
windanim · 3 months ago

I had to use Windows containers once thanks to my code needing to interact with a specific application that only had driver support on Windows, but that might’ve been a skill issue on my part tbh

1 upvotes on reddit
B
BiteFancy9628 · 3 months ago

Maybe maybe not. I recently had a colleague who works in devops tell me he maintains gitlab runners on kubernetes for windows containers with kaniko. I was surprised then he told me they use kvm. So to my point above they are VMs. They lose a lot of the properties of containers that share a host kernel and therefore save on resources. Containers are just really good wrappers around Linux kernel namespaces that are basically virtual environments on steroids I guess. But anyway windows is fine and ubiquitous. And it’s pretty cool that you can not only run kubernetes on VMs but then run VMs on top of said VMs. Like Linux Russian dolls.

2 upvotes on reddit
M
moodswung · 3 months ago

This guy dockers.

6 upvotes on reddit
S
serverhorror · 3 months ago

This is the rage explanation that I refuse to type out every time there's a similar question.

Thank you, kind sir, for expressing my wrath in such an adequate way!

10 upvotes on reddit
B
BiteFancy9628 · 3 months ago

No rage. Just facts.

3 upvotes on reddit
S
Seref15 · 3 months ago

The fastest will be Docker Engine on Linux.

Windows requires a Linux VM, which is what Docker Engine on WSL or Docker Desktop gives you. Mac requires an x86 emulated VM (to run x86 images, of which most will be) which is what Docker Desktop for Mac gives you. So Mac will likely be the slowest for non-ARM64 images.

3 upvotes on reddit
T
TBT_TBT · 3 months ago

You are right with the VMs, but MacOS definitely is quite good even with x86 images. I would say Windows is slower than MacOS.

1 upvotes on reddit
J
JoeB- · 3 months ago

As others have noted, Docker is specific to Linux and runs only in Linux virtual machines on both Windows and macOS. Moreover, current Macs are built on Apple Silicon SoCs, which are ARM based. To my knowledge, Docker Desktop on Apple Silicon can run x86 images, but I expect there will be a performance hit.

FWIW, I love my lowly M1 MacBook Air (16 GB / 512 GB) that I bought new from Apple over four years ago. I still get a stupid grin on my face when using it, and the battery life in phenomenal. I've been on my porch for four hours working on it and the battery is still at 80%.

Docker Desktop in macOS should be fine for development.

2 upvotes on reddit
See 12 replies
r/windows • [6]

Summarize

Considering switching from Mac to Windows for coding

Posted by TooYoungCEO · in r/windows · 3 months ago

I’m considering replacing my ageing 2020 MacBook Pro, but I’m unsure if I should stay with macOS or switch to a Windows machine.

I’ve been in the Apple ecosystem for years and generally prefer the Mac experience, but for the same price, I know I’d get way better specs with a Windows laptop.

Here’s my typical workload:

  • Front-end dev (Dark / Flutter, React / Next.js)
  • Light ML tests (not GPU-heavy)
  • Occasional macOS / iOS builds using Xcode (If I don’t get a new Mac, I’m hoping my old one could handle this as its only job)

My questions:

  1. Is anyone here using both Windows and Mac and can share how the experience compares for this kind of workload?
  2. If you moved from Mac to Windows, did you regret it or find it worth it for the performance gain?
  3. Any Windows laptops you'd recommend for this use case?
  4. How do you manage macOS-only tasks like Xcode builds if your main machine is Windows?

Would love to hear from anyone who's been in the same situation.

10 upvotes on reddit
12 replies
Helpful
Not helpful
View Source
12 replies
T
The_B_Wolf · 3 months ago

 for the same price, I know I’d get way better specs with a Windows laptop.

You've been out of the market for a while I see. Consider the M4 MacBook Air. You can get one on Amazon for $850 right now. There is no Windows laptop that can touch it on performance, battery life and build quality. It's the value king right now. Rethink what you used to know about Apple laptops. They are on top today because of Apple Silicon. The rest of the industry is struggling to respond and finally making a good effort with Qualcomm's Snapdragon X machines, but they haven't caught Apple yet. This is a terrible time to switch to a Windows laptop.

15 upvotes on reddit
TooYoungCEO · OP · 3 months ago

I am comparing the price and specs to my husband’s laptop, a Zenbook 14 X Oled (he bought it last year).

We watch movies, play games like It Takes Two on his laptop and the sound and visual experience is exceptional.

He can run ML models locally and build smoothly.

His laptop specs:

  • 1TB of storage
  • i9
  • Dolby 7.1
  • 32GB RAM

That’s why when I’m looking at Mac’s specs I feel it doesn’t compare at even a higher price.

His laptop seems perfect for everything, the only con being not being able to build for MacOS.

Do you think the Macbook Air M4 is close to this specs? Or it’s only good / better for development?

5 upvotes on reddit
P
Party_Cold_4159 · 3 months ago

If you want the all rounder gaming/coding laptop. It’s going to be windows/linux all day. I like Mac OS but it just doesn’t have the usability windows and Linux offers. Performance is definitely better in most cases for Mac’s though.

1 upvotes on reddit
R
radraze2kx · 3 months ago

Keep in mind the M4 is going to run circles around the i9 all day when it comes to battery life. Until Windows ARM gets wider support, I'd stick with your Mac ecosystem. I'm saying this as someone with a computer repair store that prefers windows over Mac.

2 upvotes on reddit
IEatDaGoat · 3 months ago

Between MacOS and Windows you should pick MacOS. The M4 is actually insane. Nice comparison

As someone who likes Linux, MacOS also supports Linux containerization.

So for a laptop, MacOS is kind of a no brainer but I would still use Windows for your desktop. If you didn't want to go for a laptop, then I'd use an Intel Nuc for a PC because you can mess around with it more than you could with Apple's Mac Studio.

1 upvotes on reddit
DasInternaut · 3 months ago

So, options:

  1. Stay with Mac. Starting prices are great, but if you want a bigger SSD or likely need (in your case) 32 GB, things get really expensive. The development experience is excellent.
  2. Windows. You can get more for your money when it comes to more memory and storage. At the same time, the latest i7/i9 and Ryzen processors are pretty reasonable regarding power consumption relative to performance. The development experience in a pure Windows environment is pretty dire (Powershell - ugh!), but you could do all that in WSL.
  3. Dual Boot Windows/Linux. Be risk-averse with this option - be absolutely sure the laptop you buy will do this well. The development experience on a pure Linux desktop is pretty much identical to that of a Mac.

Me? I'd go for option 1, but I'm not a big gamer (I have my Nintendo Switch Lite, and that's perfect for me).

1 upvotes on reddit
ToThePillory · 3 months ago

I use both, outside of the iOS stuff, there isn't a lot of difference depending on the IDEs you use, at the end of the day if you use JetBrains IDEs they are the same on either Mac or Windows.

For Xcode stuff I just use the Mac, I don't really attempt to integrate with my Windows stuff.

In terms of performance gains/losses, you need to look at the actual machines you'd be buying, don't bet on a similarly priced PC laptop outperforming an M4.

Desktops are a bit different, you can get a lot of value in a PC desktop, but laptops, I wouldn't bet on a $1500 PC laptop outperforming a $1500 MacBook especially if you don't care about the GPU.

2 upvotes on reddit
TooYoungCEO · OP · 3 months ago

The Zenbook 14 X Oled costs ~$1500 and it seems to outperform any Macbook out there though😅

That’s why I’m hesitant on what to do, I feel that buying a Mac would be a compromise…

2 upvotes on reddit
OGigachaod · 3 months ago

Macs are good value until you want a decent screen size or an SSD that's not tiny.

3 upvotes on reddit
ToThePillory · 3 months ago

The Ryzen 365 one?

1 upvotes on reddit
Krasi-1545 · 3 months ago

You will get better hardware with a PC with the same price compared to Mac but you will get Windows. Windows maaaan...

Right now Windows 11 is sh*t and new computers have drivers only for Windows 11.

Please do some research on Windows 11 problems before switching to it and wasting your money.

1 upvotes on reddit
TooYoungCEO · OP · 3 months ago

what do you not like about Windows 11?

1 upvotes on reddit
See 12 replies
r/cpp • [7]

Summarize

Linux vs MacOS for cpp development

Posted by kitsen_battousai · in r/cpp · 5 months ago

Mainly i'm using Linux almost everywhere, but as time goes and hardware manufactures doesn't stay in place, they are evolving and making hardware more and more complicated and Linux Desktop is not there to keep up with this pace. I'm still using Linux but considering switching to MacOS due to ARM and other hardware stuff that are not doing well on Linux.

What bother me the most is the experience of setting up the environment for C++ development... On Linux the whole OS is kind of IDE for you, but can i achieve the same level of comfort, facilities and experience on Macos ?

I know that crosscompiling and verifying the result targeting Linux on MacOS requires virtual machine, but today it's very easy, performant and lightweight bootstraping Linux vm on Macos.

So, C++ developers who are using MacOS what are your thoughts and recommendations ?

EDIT

All the comments this post received show that the most right channel to discuss Linux issues, its pros and cons is actually cpp =)

14 upvotes on reddit
12 replies
Helpful
Not helpful
View Source
12 replies
benjycompson · 5 months ago

I prefer MacOs over Ubuntu for C++. At home for my own projects I largely get by just fine with LLVM from Homebrew and VS Code. Whenever I write something that's not trivially platform agnostic (interfacing with LAPACK and such) I spin up Ubuntu on a VM and SSH into it from VS Code, and you mostly forget you're not on a Linux machine (except for the comforts of MacOs).

We do something similar at work (robotics/AI, with a giant C++ code base). Everyone has a MacBook but all the code lives on Linux cloud instances that we SSH into from VS Code.

I never really miss running Linux as my main OS.

5 upvotes on reddit
O
ottersinabox · 5 months ago

when I started using MacOS for a previous job I had a lot of trouble getting my environment working the way I wanted. upgrading compilers and my toolchain was a pain. the biggest issue was getting a newer version of g++. also, I really felt like xcode was a pain to work with. did end up getting it to work ok with heavy use of homebrew. but nuances like typical unix tools behaving slightly differently from that of Linux and how third party Emacs felt under it really threw me off.

i loved the hardware and I ended up dual booting the machine. i was much happier spending my time at work primarily in Linux on that machine and the Linux workstation I had, and ended up only switching to MacOS when I really had to.

I'm sure there are a lot of devs who have had the opposite experience as me, and given that this was almost a decade ago, things may have changed. all I wanted to say is that if you're heavily invested in your Linux tooling, you might find it underwhelming or irritating because the MacOS ecosystem is quite different. maybe start with buying a small secondhand Mac mini or something (or are hackintoshes still a thing?) and see how it feels before committing to a pricy MacBook.

9 upvotes on reddit
N
NilacTheGrim · 5 months ago

> I really felt like xcode was a pain to work with.

True. Xcode is terrible. Just avoid Xcode. You can use CLion or QtCreator as your IDEs. Use MacPorts to install packages (port command like on bsd).

2 upvotes on reddit
iamnotaclown · 5 months ago

Retired now, but I was team Linux for decades aside from a brief flirtation with Windows development in the 90s. I was lucky to work in an industry that transitioned from IRIX to Linux, but at home I switched to Hackintosh during the Intel years due to not wanting to be IT at home. When my PC aged out, I bought a Mac Mini and never went back. On my third Mac Mini now. 

Macs just feel like a very high-quality UNIX to me. 

Xcode is awful, though, I used vim/gmake and then Clion. 

16 upvotes on reddit
kritzikratzi · 5 months ago

not sure what makes you complain about xcode. i've been using cmake+xcode and cmake+visual studio for over a decade, and i love both (xcode often has super slow autocomplete in comparison to VS, but personally i'm not bothered by that).

you gotta figure out a few shortcuts (like cmd+shift+O, or cmd+1/2/3, cmd+shift+1/2/3, cmd+shift+j, etc.), but i find it perfectly usable. what's your problem with it?

ps. there are some small things (like getting the preprocessed version of a single cpp file) that xcode solves better than VS.

1 upvotes on reddit
kitsen_battousai · OP · 5 months ago

And how are you doing with AppleScript ? I mean - when i explored the way MacOS users are running executables with default arguments as desktop applications was so frustrating for me... at least comparing to Linux and its .desktop files. Then i discovered AppleScript and I found it's quite convinient.

2 upvotes on reddit
iamnotaclown · 5 months ago

Dunno, I use the command line. I’ve messed about with AppleScript once or twice and found it annoying, but workable. 

1 upvotes on reddit
M
matthieum · 5 months ago

I've develop exclusively for Linux for the last decade (and some), and I've used all 3 mainstream desktop OSes (Linux, MacOS, Windows) to do so.

And in all cases, I've used a VM.

At home, I've been a firm Windows + WSL 2 user for a while. Very comfortable, and allows me to pick from a wide variety of desktop & laptop.

At work, I've worked with both Linux (Desktop) and MacOS (Laptop). By far, the MacOS (Laptop) was the smoothest experience, but not because of MacOS: because since I was developping for Linux, I directly went for remote SSH on a Linux server.

While it may seem easier to develop for Linux on a Linux Desktop, unfortunately it's so easy to accidentally mess up the setup -- either overwriting libraries you shouldn't have, or accidentally using a compiler or libraries you shouldn't be which happen to be present -- that even working on a Linux Desktop, you're better off developing in a VM.

And that's to say nothing of all the risks involving running arbitrary code -- those libraries you link in your project -- in an environment which also is your delivery driver, and thus has your e-mails, browsing sessions, passwords close by, ssh keys to various servers, etc... it's a security disaster in the waiting. You're better off developing in a VM.

And if you're going to be developing in a VM anyway, regardless of which OS you pick, then you may as well feel free to pick the OS which works best for you.


I would note, though, that the choice of hardware does matter. In particular, if you're developping for x64 on ARM, or ARM on x64, benchmarking/profiling will be complicated.

If it's an occasional need, and you can relatively easily access the appropriate hardware, then it's not much of a hassle. On the other hand, if it's a regular activity, you may want to make sure you pick hardware that is "close enough" (instruction set, number of cores) to your target that you can run things locally.

It's just about convenience, but death by a thousand cuts and all that...

8 upvotes on reddit
O
ottersinabox · 5 months ago

honestly it's been so long, I don't remember. i do know I had pretty extensive cross compilation needs, and performance was absolutely critical as well so my best guess was that it had something to do with one of those.

3 upvotes on reddit
JumpyJustice · 5 months ago

How so? The difference there is only a set of runtime libraries (at most) and all the programs just target that? Its a genuine question

0 upvotes on reddit
A
arthurno1 · 5 months ago

Linux Desktops does fine on Arm, too. If you don't trust me, get yourself a Pi.

What is critically important here, but not explicitly stated, is that that Op with "Linux desktop" obviously means PCs build with Arm CPUs running Linux.

Apple is the only one currently offering personal computers build on Arm chips, to masses. However, there are producers who build Likux-based systems on Arm chips too. System76 has offerings, probably some other too.

I don't know why it is not more popular to sell mobos and Arm cpus to home builder segment, and to offer more Arm based computers, but I still wouldn't express myself as "Linux desktop is not doing well on Arm". Seems like a meaningless expression.

Personally, I would never prefer Apple OS over a free, privacy respecting, OS, but that is my personal choice.

17 upvotes on reddit
G
gmes78 · 5 months ago

https://asahilinux.org/

0 upvotes on reddit
See 12 replies
r/vibecoding • [8]

Summarize

Thinking of switching to Mac for web development — frustrated on Windows 11

Posted by ForbiddenSamosa · in r/vibecoding · 2 months ago

Hey everyone,

I’m currently doing a web development project on my HP Windows 11 machine, but honestly, I’m getting super frustrated. Every time I want to set something up — whether it's Git, Node.js, npm, Chocolatey, or other dependencies — it becomes a hassle. I constantly run into weird terminal issues, file path errors, and other problems that just slow me down.

On macOS, it feels so much cleaner. You install Homebrew, and everything just works. The Unix-based system, native terminal, and predictable file system make it so much easier to manage development environments.

I'm seriously contemplating buying a MacBook just to avoid the pain. Windows feels like it’s fighting me every step of the way when it comes to dev work, especially with tools that assume a Unix-like environment.

For those who’ve made the switch — was it worth it? And for any Windows devs who’ve figured out a better setup, is WSL really a full solution?

Would appreciate your thoughts!

4 upvotes on reddit
5 replies
Helpful
Not helpful
View Source
5 replies
M
midnitewarrior · 2 months ago

I left Windows for Linux, and Linux has been working great. I'm using Claude Code, Gemini CLI, Cursor, and Kiro locally and they were all easy to use. The Linux environment has gotten to be quite good since the last time I used it. I'm using Ubuntu 24.04 and for the first time, I am really preferring this to the Windows I've been using for decades.

I will say I was quite happy with WSL, Microsoft has done some amazing things with it, but just being native Linux simplifies that.

1 upvotes on reddit
Zealousideal-Ship215 · 2 months ago

Yes do it, it’s vastly easier to develop on a unix based system. All the Windows based solutions are compromises in some way.

1 upvotes on reddit
CreativeQuests · 2 months ago

Omarchy or Omakub are Linux distros made by DHH for web developers.

DHH is mainly focused on Ruby (on Rails) but they may work well for JS as well. Omakub (Ubuntu) is supposed to feel similar to a Mac, Omarchy (Arch) is built around a tiling window manager and keyboard driven workflows.

I didn't try these yet but I've seen quite a few web devs on X raving about them and that they're switching from Mac. You could try them in a VM and/or maybe dual boot with your Windows.

1 upvotes on reddit
SamWest98 · 1 month ago

This post has been removed. Sorry for the inconvenience!

1 upvotes on reddit
photodesignch · 2 months ago

Web is the most agnostic development environment ever. I think you just need to run to WSL or docker then all your problem will go away. Windows system is mostly designed for dot net development. It’s not super friendly for opensource or Linux alike system till recent 10 years. Running lightweight Linux would totally solve your problem easily. Especially docker would be super helpful so you don’t even have to run full Linux on WSL.

2 upvotes on reddit
See 5 replies
r/CasualConversation • [9]

Summarize

To the programmers here - anyone else prefer to code in macOS/Linux but have often found yourself deferring to using a Windows machine for the convenience?

Posted by zI9PtXEmOaDlywq1b4OX · in r/CasualConversation · 1 month ago

Not trying to say that programming on Windows is bad. After you set up WSL, the dev experience for me is more or less the same (I work in web. Obvs wouldn't be the same for game devs or iOS devs lol). It's just that things can be a bit more convenient when programmming on macOS/Linux. But it's super convenient to have just one device for both programming and gaming, especially when I'm jumping to friends' places and whatnot; it's nice to only have to carry one laptop for whatever I plan to do throughout the day, whether it be programming, gaming, or what have you. And, yes, I'd game on Linux, but I play games like Valorant and Wuthering Waves, which aren't known to be compatible (at least, for now or maybe for the foreseeable future) 😅

6 upvotes on reddit
10 replies
Helpful
Not helpful
View Source
10 replies
thegurel · 1 month ago

I was windows for everything growing up, but I learned programming on a Mac. I was told it was far superior and all that, and there are conveniences for sure. First job was government contracting, and they prefer windows. I never had an issue switching, and prefer windows over macOS for just about everything other than the terminal. Of course now I’ve gotten into iOS dev, so I have to use a Mac again. I just take it in stride. If I could do iOS on windows I would. Still never tried Linux.

I suppose to answer your question. I only use my work computer for work and personal computer for personal, and never mix the two.

2 upvotes on reddit
zI9PtXEmOaDlywq1b4OX · OP · 1 month ago

I had the same feelings when it came to the terminal. And I'm not gonna lie, setting up WSL was such a pain at first lol, but once you get your configs and create a dotfile for them, WSL has made the dev experience more or less the same for me!

But yes, I agree on not mixing personal and work computers, haha. How's iOS dev so far?

1 upvotes on reddit
thegurel · 1 month ago

Ugh. Pain in the ass, but I guess rewarding in the end.

1 upvotes on reddit
Otocolobus__Manul · 1 month ago

I love Linux. It gives me the feeling of being a proper, smooth, powerful system for people who know what they're doing (which I sometimes do).

Windows is a lot better at running stably these days than it used to be, but I've always had the feeling that they got there - finally - by sheer attrition. Microsoft threw money and manpower at its problems, year after year after year, until they finally managed to bludgeon it into working without the maddening dysfunctionality it used to have.

If Linux is a ship that has been designed from the start to float - if admittedly occasionally askew - Windows is a ship that was haphazardly welded, nailed and glued together out of many types of materials by people who went "eh, it'll probably float". Then they realised that floating is important and spent years running all over the place plugging holes, and now they've finally plugged most of them - but it still looks like a hodgepodge of random patches below the surface.

So I don't like Windows very much; if I could, I'd happily rid myself of it.

And yet, it's the system I spend most of my everyday computing with.

Partly, that's because I'm a gamer. Linux is better at this than it used to be, but it's still shit if the games you like are old enough that they aren't supported but not old enough to run under Dosbox.

And partly it's because Linux software so often doesn't make user experience a priority, while Windows software does. I could go on about this, but all you have to do is watch Tantacrul's rant about Musescore's design; he's talking about exactly the sort of usability problems that plague OSS applications developed primarily by engineers and nerds.

Musescore was lucky; after that video aired the devs went "well, if you know so much about interface design, why don't you do it better?".

So he did.

But a lot of other software doesn't happen to be blessed by a UX expert's attention, and as a result is still a really crappy experience to use.

Take the GIMP. It's powerful and it's capable, but I'd rather shoot myself in a testicle with a nail gun than use it instead of Photoshop.

2 upvotes on reddit
DivideMind · 1 month ago

On that last point, I started using Krita for painting, then I started using it for image editing too, and now I just don't use GIMP. Krita is simply the superior raster focused OSS. Can't say how it compares to Adobe products, never used them because I never had to- by the time I needed good software Krita was already mature.

1 upvotes on reddit
helpBeerDrought · 1 month ago

No never. There is nothing convenient about using Windows.

3 upvotes on reddit
zI9PtXEmOaDlywq1b4OX · OP · 1 month ago

I'm getting 180 opinions, and now it feels like my world is falling apart 😭

2 upvotes on reddit
A
AutoModerator · 1 month ago

Hey zI9PtXEmOaDlywq1b4OX! Unfortunately, your post has been removed because it does not contain enough text in the text area. Please feel free to re-submit with further elaboration in the text area, or message the moderators if you feel your post was removed unjustly. Thank you! Include context - Create a well rounded post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1 upvotes on reddit
Capital_Sea_5555 · 1 month ago

Nothing wrong with trying to be efficient my guy. If it works, it works.

3 upvotes on reddit
zI9PtXEmOaDlywq1b4OX · OP · 1 month ago

Thanks :)

1 upvotes on reddit
See 10 replies
r/rit • [10]

Summarize

Mac vs windows

Posted by Professional-Crab-81 · in r/rit · 4 months ago

I’m a undergraduate majoring in biomedical engineering. I already have a custom built PC that runs any and all needed software for my program. Should I go for Mac for the ecosystem or windows since I’m already use to it and have a Windows pc?

6 upvotes on reddit
5 replies
Helpful
Not helpful
View Source
5 replies
acbvr · 4 months ago

For some majors it matters but if you have access to windows, that should cover your bases. I had a lot of really computationally intensive stuff for extracurriculars, so I used parsec to remote into my desktop from my laptop whenever I needed to do something intense. I do think the Apple ecosystem is overrated (as someone who uses a Mac).

2 upvotes on reddit
J
JimHeaney · 4 months ago

Outside of specific majors (primarily art or music related), Windows is by far the most dominant OS. I'd stick with it unless you have a specific need to go off of it, or really like a program/feature exclusive to Mac or Apple hardware.

In any engineering field you're very likely to be using Windows for the next 30 years of your career, might as well start getting used to it now.

1 upvotes on reddit
recordtronic · 4 months ago

Getting a new computer will probably just distract you from your coursework.

1 upvotes on reddit
GWM5610U · 4 months ago

You will graduate in either

1 upvotes on reddit
copop22 · 4 months ago

Windows. If you choose to do other things with the computer (video games, coding, general use) windows is typically more convenient and popular.

1 upvotes on reddit
See 5 replies

Top People to Talk to

These are some of the top contributors related to
csMajors
C_Programming
AskProgramming
6+ others
L

Lumpy-Notice8945

No bio available
69244
Karma
31
Posts
10000
Comments
View Profile
Chat w/ Profile AI
J

jiltanen

No bio available
10193
Karma
13
Posts
2156
Comments
View Profile
Chat w/ Profile AI
D

don_the_spubber

No bio available
9923
Karma
52
Posts
728
Comments
View Profile
Chat w/ Profile AI
J

Jomy10

No bio available
5381
Karma
124
Posts
2692
Comments
View Profile
Chat w/ Profile AI
L

LurkerOrHydralisk

No bio available
319198
Karma
5
Posts
10000
Comments
View Profile
Chat w/ Profile AI
B

BiteFancy9628

No bio available
11958
Karma
43
Posts
4524
Comments
View Profile
Chat w/ Profile AI
T

tissn

No bio available
10256
Karma
47
Posts
532
Comments
View Profile
Chat w/ Profile AI

Related

Lenovo ThinkPad vs MacBook for coding

best laptops for programming 2024

MacBook Air vs MacBook Pro for developers

Lenovo ThinkPad models comparison for developers

essential software for coding on laptops

AI Answer

🤖

coding on Windows vs macOS

Key Considerations for Coding on Windows vs. macOS

  1. Development Environment:

    • Windows: Supports a wide range of IDEs (e.g., Visual Studio, JetBrains) and languages. Great for .NET development and game development (e.g., Unity).
    • macOS: Preferred for iOS and macOS app development (Xcode). Unix-based, making it easier to use command-line tools and scripts.
  2. Package Management:

    • Windows: Tools like Chocolatey and Windows Subsystem for Linux (WSL) help manage packages, but WSL can have limitations.
    • macOS: Homebrew is a powerful package manager that simplifies the installation of software and libraries.
  3. Performance:

    • Both platforms can perform well, but macOS is often favored for its stability and performance in development environments, especially for web and mobile apps.
  4. Community and Support:

    • Windows: Larger user base for certain technologies (e.g., .NET, game development).
    • macOS: Strong community support for web development, design, and mobile app development.
  5. Cost:

    • Windows: Generally more affordable hardware options available.
    • macOS: Typically requires a higher upfront investment for Apple hardware.

Recommendation:

  • If you're focused on iOS/macOS development or prefer a Unix-like environment, go with macOS.
  • If you’re developing for Windows platforms, gaming, or prefer a wider range of hardware options, choose Windows.

Ultimately, the best choice depends on your specific development needs and preferences.

Still looking for a better answer?

Get more comprehensive results summarized by our most cutting edge AI model. Plus deep Youtube search.

Try Gigabrain Pro for Free
gigaGigaBrain Logo
Support

Who are we?

Get API access

Leave us feedback

Contact us

Legal

Terms of Use

Privacy Policy

Shopping Tools

Product Comparisons

2023 GigaBrain Corporation
As an Amazon Associate, GigaBrain may earn a commission from qualifying purchases.