DEV Community

Amar Prakash Pandey
Amar Prakash Pandey

Posted on

Can we use a good configuration gaming laptop for programming?

Currently, I am using an Intel i3- 3rd generation laptop with 4Gb of Ram. Now I am willing to purchase a new laptop for programming purpose (Machine Learning and application development).

I have seen many laptops on the internet with the good configuration in a different price range. But I find this Apple MacBook Pro MLH32HN/A Laptop 2016 the best laptop in range.

But then my elder brother suggested me to buy this Dell Inspiron 15 7000 7567 because it has better configuration then Macbook pro and price is also less.

Now my question is which laptop should I buy, considering that I don't play computer games and will use the laptop only for programming purpose.

Top comments (31)

Collapse
 
nektro profile image
Meghan (she/her)

programming isn't very resource intensive (we are just editing text after all) but running your code is an entirely different story. I don't know a ton about ML but I think the more RAM the better, but don't quote me on that haha. On your other point, what kind of application development do you think you'll be doing the most?

Collapse
 
amarlearning profile image
Amar Prakash Pandey • Edited

I am mainly into server-side APIs, command line tools, web application (Java, Python) and mainly need a laptop for open source contribution.

Collapse
 
ardennl profile image
Arden de Raaij

Personally I wouldn't go for the Inspiron. In my experience few laptops have such a long lifetime as MacBook Pro's. I'm typing this on my late 2013 MacBook and it still feels and looks like a brand new device. Especially with the whole touchbar thing, I feel no need to upgrade. Maybe a 2015 macbook pro would be interesting as it does not have the touchbar, it has more ports and (in my opinion) a way nicer keyboard.

Collapse
 
vgrovestine profile image
Vincent Grovestine

Alternatively, it's hard to go wrong with a Lenovo Thinkpad from the T or X series--Built to last.

Collapse
 
ardennl profile image
Arden de Raaij

Very true! My father has had a Thinkpad for ages and the thing just won't die. The only other laptop I had with a 5+ year lifespan was my Sony Vaio!

Collapse
 
rhymes profile image
rhymes

I have a Mid 2012 MBP with 16 GB of RAM and a SSD and it's still not time to think about a change :D

@amarlearning , Arden just reminded me of this post "The best laptop ever made" marco.org/2017/11/14/best-laptop-ever

:-)

Collapse
 
amarlearning profile image
Amar Prakash Pandey

Agreed! :)

Collapse
 
bgalvao profile image
Bernardo

If by machine learning you mean only neural nets, frameworks like tensorflow or pytorch are built to parallelize operations in NVidia GPUs, and if you want to lower training times (who doesn't, trying different stuff is important), then I recommend the option with the GPU, the Dell option. If you just want to try out machine learning or this is not important, then your back will thank you for the lightest option. Mobility is great!

Collapse
 
amarlearning profile image
Amar Prakash Pandey

so which laptop do you suggest MacBook Pro 2016 or Dell Inspiron 15 7567 or any other?

Collapse
 
Sloan, the sloth mascot
Comment deleted
 
amarlearning profile image
Amar Prakash Pandey

And what about more weight, less battery life, and useless graphics card.

Collapse
 
liberation92 profile image
liberation92

I had to register an account to comment on this. I want you to know that making software needs more resources than using software, and professional way is to separate the development and the testing. Because you're not a programmer, so you won't understand, so, please do not comment here.

Collapse
 
balderm profile image
balderm

You can write code on literally any machine, so it being a "gaming" laptop shouldn't be a problem, you just get a better graphics card if you want to play games on it. Overall is all about what you like the most, the Dell has a more recent CPU and bigger HDD, but it's definitely a thicker laptop that will never have macbook tier battery life, while the Macbook has a smaller 256gb SSD, so you might need an external HDD if you need many VMs or need to take around many files, but you still get great battery life and some of the best laptop screens and trackpads in the market.

Collapse
 
amarlearning profile image
Amar Prakash Pandey

Exactly, Dell is offering me more at less price. But on the other hand, it's MacBook Pro, I have never heard any bad review about that device even after years of usage.

Collapse
 
harshal_dafade profile image
Harshal Dafade

Macbook Pro has always been a great device to hangout with.. A whole power packed machine.. But in recent years, especially after 2016 apple has tried to put style statement before usage, the thing is just for the new minimalistic unibody designs which looks great of course makes the laptops thinner and more premium looking, but they killed the whole user work experience with butterfly keys..that are just worst to type on and even after all these years in 2019 they're still stuck to it, the newer models of pro 15' are having thermal throttling issues with 9th gen powerful processors with hexa and octa cores, and that's all coz of the old 2016 chassis which still hasn't been changed or modified in a bit, probably by the end of year apple might release their new line up.. So just hoping for the best.. But if you are really ready to spend for a macbook Pro.. As an Windows alternative I'd suggest thinkpad x1 carbon.. You can go with highest specs.. The best part is its lighter than macbook Pro and its the best business machine you could get in market.. Moreover it has the best typing experience.. Especially when you're in development you need a laptop which feels good to type on and it's the best in class.. Looking at specs it has superfast ssd, if you need more ram you can upgrade at the time of purchase, they have latest processors, and you can opt for high end 4k display variant if needed.. And if you're not looking to spend much any older thinkpad model which is upgradeable would do.. They all have great value for money and best keyboards

Collapse
 
jetfighter profile image
Maxim Korotkov

Well, i am using MacBook Pro myself for programming, but i only do frontend and light iOS app development, so i never run short on resources (even though Xcode sometimes may be hungry!).

You said that machine learning will be your primary direction. As far as i know, it is pretty hungry for CPU and GPU, so in that case buying Mac solely for that won't justify the price. For something as heavy as ML people usually build powerful PCs or rent servers.

But these are your money, i think you should buy the one you like for whatever reason. Going for Mac is a good option.

Collapse
 
amarlearning profile image
Amar Prakash Pandey

I got what you are saying. but since I mainly work on open source and web application they are all deployed on cloud and user can access them via a web browser, so there is no need for the user to have a good laptop. I hope you got what I am trying to say. Thanks!

Collapse
 
rbanffy profile image
Ricardo Bánffy

It really depends on what you do. If you are doing end-user apps that are intended to run on what your users have, having a computer that's too fast may give you the wrong idea of how it performs for your users - it may happen it's perfectly good on your laptop, but that it sucks on their memory constrained i3's. If you are doing that, someone else pointed out you'd probably be better served with a more spartan machine.

If, OTOH, your apps are intended to run on beefy servers, by all means get the best machine your money can buy. In my case, I opted for a light laptop (i3) and a beefy server (Xeon E7, lots of memory, sits under my desk at home). When I'm out of the house, the laptop does everything and doesn't break my back, but when I'm within the house (as in couch or backyard), the server does all the heavy lifting. When I'm on my desk, the laptop is attached to a large screen and a wonderful buckling spring PC-122 keyboard by Unicomp (recommended). If latency is not a big issue for you, a cloud server you spin up and down may be a good option for the heavy lifting. With some automation, you can make it come up with fresh copies of all your tools without having to pay for persistent storage.

The downsides of a gaming laptop are usually the crappy battery life, the horrendous looks and the spotty support for any OS that's not Windows.

Collapse
 
amarlearning profile image
Amar Prakash Pandey

Thanks Ricardo for your advice, but as said I will be mainly working on Open source projects, web application development and machine learning and considering the future scenario I am planning to buy Macbook because of its awesome battery life, good keyboard, excellent performance.

Collapse
 
alex73630 profile image
Alexandre Sanchez • Edited

From my perspective, the most important thing to look at on a programming laptop is its battery life, then SSD, RAM and CPU, in that order, depending on what you need.
I've bought a Dell XPS 15 (9560, i7 7700HQ, 16Gb DDR4, SSD NVMe 512Gb, 97Wh battery) 5 months ago mostly for programming and doing school work (word, VMWare and a bit of C#/Visual studio).
But with its 1050 4Gb and the rest of the machine, it's a freaking beast for "light" gaming (read : GTA V at "High graphics" at 1080p60 and decent mid graphics on PUBG at 1080p60) and also light VR stuff (HTC Vive on small games, like SUPERHOT VR). But expect a 1h to 45mins of battery life if you use the dGPU at 100% and the CPU to 70-100%.
Sure thing, "gaming" laptops can be great if you need some kind of discrete GPU with a bit of power and a cool CPU, but most of them are lacking of a "huge" battery. On my XPS, without any energy saving settings enabled and full brightness (CPU stays clocked at ~3.4GHz, dGPU turning on only if used), it last for 4-5 hours on a basic programming load (Atom + Chrome (~50 tabs) + NodeJS app running + Spotify).
Tldr : go for a reasonably equiped laptop with a GTX1050 and a "huge" battery and prefer SSD based laptops. Dell's Inspiron laptops are great if you don't want to spend an extra for a XPS 15.

Collapse
 
lumdermaku profile image
Lum Dërmaku

Of course the kind programming you seem to do doesn't use a lot of resources from your laptop, but getting one with good components(at least a quad core cpu, 8GB of Ram, a discrete GPU) would be a nice choice, considering future-proofing. I'd recommend you to consider this one: amazon.com/VivoBook-i7-8550U-Proce... <-- I would avoid the other 15.6" model because it has a worse looking screen

Probably you wouldn't need a 17.3" screen laptop, but once I got one, i never looked back. This model has an almost all-metal construction, a great latest gen 4 cores/8 threads CPU, 16 GB of RAM which is plenty, a GTX 1050 as a nice addition, a good IPS 1080p screen ,backlit keyboard, and other features. It's only "downside" is that you won't get a long battery life (~ 5 to 6 hours of use).

If battery life is something you can't neglect, you can check out these other models(if you're considering to buy a 2k+$ laptop, maybe price won't be an issue for you):

Remember: Nice laptops like these would last you for a lot of years (even if some of these are branded as "gaming laptops")

amazon.com/UX550VE-DB71T-15-6-inch...

gearbest.com/laptops/pp_786412.htm...

amazon.com/MSI-GS63-STEALTH-060-i7...

And of course:
amazon.com/dp/B06XTCJT17/ref=twist...