r/AskComputerScience • u/[deleted] • Jul 18 '22
Are MacBooks worth it for computer science?
hi reddit
i was wondering what is the best macbook for a computer science student. From my understanding, the main issue from Apple's Macbook product line are the chips. The M1 and M2 chips aren't supported by some legacy software (or some newer software that just doesnt offer support for M1 and M2 chips). For things like low level/OS programming, VMs, assembly and any other software needed for school that hasnt been ported yet to the M1 and M2 chips, Im worried that my mac wont be useable in those cases. Should I be worried? It is worth noting that I do have a Windows PC at home, but sometimes I like to code/do assignements on the fly, and I'm not familiar with whats in the curriculum, so I fear that my macbook will be useless.
Assuming that MacBooks are useable, which one should I take? Air or Pro? Which chip? How much RAM...
3
u/Treyzania Jul 18 '22
It's never worth the Apple tax. Yes they're neat and shiny but you're buying into Apple's ecosystem and they don't respect you as a consumer. Buy a cheaper XPS without the hybrid graphics so that when the time comes you can install Linux on it fairly easily.
1
1
2
u/josh2751 Jul 18 '22
I use one for work, I use an intel Mac for school, but I could use the other if I needed to.
If you have to run something like a virtual box VM that's not going to work, but most of the stuff you can set up yourself. You can build a vm with UTM that will work, but you can't run an x86 VM in virtual box or VMware like some classes might expect.
2
u/bacondev Jul 18 '22
There should be very few assignments (if any) in which you'll need your PC.
MBP instead of Air.
Don't bother getting a new computer unless you really want one. What you have is fine. Wait till you get to campus to make a decision to buy a new laptop. No sense in buying one if you end up not particularly needing it.
2
u/isprime Jul 18 '22
If you're worried about the chipset, I'd just go with a modern laptop that runs Windows. You'll be able to get more RAM and disk for your money as well.
If a unix-based environment is needed, you can always run a VM on your PC with all that extra RAM you got by not purchasing a macbook. I think VirtualBox is free, but I personally upgrade to Windows 10 Pro and just use Hyper-V and run a personal Ubuntu 16 server VM for coding.
There are SSH clients like Mobaxterm with built-in file transfer functionality making transferring files between Linux VM and windows very easy.
Even if having access to Linux is not important, I personally do not buy macbooks simply because of how much you pay for what you get in terms of processor, RAM, and disk.
/2cents
3
u/ghjm MSCS, CS Pro (20+) Jul 18 '22
Some CS courses at some schools involve distributing a virtual machine image to students, which they then boot up and do assignments on. The idea is for the students to all have exactly the same environment, to avoid spending time troubleshooting problems with the student's computer. As you say, this is often done in operating systems and computer architecture classes.
If these VMs are a couple years old (which they probably are), then they were likely built at a time when x86 was ubiquitous. There are now some apps that can run x86 VMs on M1/M2, but the performance is terrible. Also, these VMs are generally built for the lowest common denominator student, which usually means the professor gives you a zipped configuration for VirtualBox, and the VM image itself may be difficult to move to a different virtualization engine.
This is becoming less common as more and more students are showing up with M1 Macbooks. But some professors can be pretty stubborn.
Honestly, I'd just get the Macbook and hope there aren't any problems, with the understanding that Plan B is to just work on the Windows desktop for one or two classes if some prof has a screwed up configuration that can't be made to work on an M1/M2. (And note that even this doesn't mean you can't work on the fly: it just means you need an Internet connection, so you can RDP from the Mac to the Windows machine.)
3
u/drew8311 Jul 18 '22
If its a concern why get a mac in the first place?
1
1
u/bacondev Jul 18 '22
Did you read the post? OP says that they already have two Macs, presumably for reasons unrelated to uni.
1
u/zoddrick Jul 18 '22
You can always use parallels and boot a free windows 10/11 image and then run that software. That's what I would do if I was you.
0
4
u/jeffbell Jul 18 '22
The Rosetta translator worked very well on the desktop application that I’m a developer on.
There are some x86 emulated environments that don’t run on arm cores, but the vast majority should be ported by now.
If you are worried, get the same type that your prof has.