this post was submitted on 23 Jun 2023
33 points (88.4% liked)

Programming

17022 readers
264 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
33
I need to buy laptop (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Hi guys I want to buy a laptop for programming, but I couldn't figure out what i really want .

my budget range from 600$ to 1200 .

I found these laptops in the market

(i3 - 4g ram - 256 giga ssd) for 600$

(i5 - 8g ram - 512 giga ssd) for 800$

(i7 - 16g ram - 512 giga ssd) for 1200$

and also ryzen 3 5 and 7 .

here what I want you to Know :

1- I want to use this laptop for programming only (and browser of course),

2 - I will programming for android (for now ),that's mean i need to install android studio , IntelliJ IDEA or Eclipse (maybe other).

so I'm afraid if I buy 1200$ laptop i will regret it , because don't need that much ram or cores or ssd capacity.

and if i buy 600$ i will regret it too ,because it will be too slow or not ideal for programming,less ram -less capacity -less core

I was depressing for long time and I'm slowly back on track so i don't know what going on ( on tech world).

and also there are laptop 2 in 1 (laptop and tablet) with pen, is it worth to buy ?.

dose the laptop now upgrade-able in terms of ram , saying this because of what going on in part replacement issue (like apple ).

so help please what should I buy.

pardon my English not my first Language, and thanks in advance.

Edit : thank you guys very much , that's really help and very informative. 👍 😍

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 1 year ago (5 children)

Buy the cheapest MacBook model you can find with an M-series chip and as much RAM as you can stomach the cost for.

I'd say 8gb is barrrrre minimum for doing app development. You'll want 16gb.

Listen, I'm the last person you'd expect to recommend a Mac. I am an Android guy. No other Apple products in my place.

...but I've owned every top end model from pretty much every relevant PC manufacturer just trying to find something as reliable, hassle free, and well built as my work Mac and it just doesn't exist.

The MacBooks are just in a whole other class. The battery life, the standby time, the speed of those M1/2 chips, runs cool and quiet.

I'm neutral on MacOS. It tends to stay out of my way. I don't use any of the Apple apps. It is usually stable as hell. My work MBP currently has an up time of 68 days without a reboot, and the only reason it rebooted last time was for security patches.

Build quality is unmatched, screen is great, trackpad is still a generation ahead of anything else, keyboard is great.

I accept my fate, Fediverse. Roast away

[–] [email protected] 5 points 1 year ago

I’m not here to “roast” but M chips aren’t fully supported for everything a software engineer could be compiling/running. At the current moment, they’re not quite as well-supported in every single way possible like an x86 chip would be for dev environments (even though we all really want them to be).

[–] [email protected] 5 points 1 year ago

Nothing wrong with recommending a Mac. I'm not a Mac guy myself but I am pretty productive with one.

[–] [email protected] 3 points 1 year ago (1 children)

I second the Mac recommendation. I use Linux on my desktop, but use Mac for laptop, after 6 years of using MBP (I still use my mid-2015 15" MBP for mobile development and day to day work), I can vouch for their quality (but skip the 2017, 2018, butterfly keyboard + touchbar crap, our company have buttload of those broken). Their M1/M2 battery life is just out of this world.

If OP worry about spending big and having buyers remorse, I recommend MBP.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (3 children)

I have an x86 MacBook.

How well do the M-series MacBooks work if you want to run Windows or Linux in a VM?

[–] [email protected] 2 points 1 year ago

From what I’ve read: not well.

[–] [email protected] 1 points 1 year ago

I do a substantial amount of software development inside a Linux VM on an M2 Pro. Runs fine. The guest OS is AArch64 too.

I use Lima for this.

[–] [email protected] 1 points 1 year ago

I should have been a bit more specific: How well do the M-Series run an x86 guest OS?

I've heard not well too. But don't personally know anyone who has experience with this.

This thread, Windows 11 for Arm runs unbelievably fast, seems to say that Windows ARM (not x86) runs well and it emulates x86. One person says well, one person says garbage.

Back to OP's question - I have a two MacBooks and one HP Windows laptop. I much prefer the MacBook hardware, but am 50/50 on the virtue of the OSs. Windows having WSL2 is a big benefit. That said, I'd probably buy another MacBook as they do seem to last a long time, I'm writing this on a 2018 MacBook, and like the Apple integration.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

The stack overflow survey showed 33% of devs are using MacOS. You won't (or shouldn't) be roasted for recommending a mac.

[–] [email protected] 1 points 1 year ago

Same. I haven't used a Mac seriously since my 2004ish G5 power mac.. I've been on Linux pretty much exclusively for 20 years. My current job gave me a new apple silicon Macbook though and it's almost unbelievable how good of a machine that is. I think 90% of that comes down to the chip but still... The software is still mostly just fine but the chip is in a class of its own.