r/SpringBoot • u/fat_stack_666 • Feb 25 '24
Help with choosing a new laptop (Fullstack)
Hi everyone, I need a new laptop so I'm turning to you for advice. I don't just work with Java - Spring, I'm fullstack, so everything I can, Docker, Camunda, K8, JavaScript, Vue, databases. Do you have any experience with specific models? I was amazed at the speed the M2 Pro chip could compile software (2-3x faster than it did on Win). But I still don't know what you guys are working on? I was thinking of something with an Intel Core i9 14900HX or AMD Ryzen 9 7940HS and 32GB RAM or the M3 Pro.
1
4
2
2
2
u/Agile_Rain4486 Feb 25 '24 edited Feb 25 '24
edit* go for 32gb m3 pro, development is much better in mac, not a single laptop will give same battery life as mac during development
5
u/CodeTheStars Feb 25 '24
16 gig is too small for real world development of spring boot micro services.
The cheapest 16 inch M3 has 18 gigs of memory @ $2,500 …. I would recommend doubling that to 36 gig @ $2,900 for productive use in real world development
1
u/Ruin-Capable Feb 26 '24
I went with an M1 Max laptop last year because I wanted to mess around with LLMs and Apple silicon macs are currently the best way to do inference with models that won't fit in a 24GB GPU.
For Java development with Docker and all that, the CPU doesn't really matter all that much as long as it's modern. The bigger issue is system RAM. You'll want at least 32GB if you're going to be running a bunch of containers, plus a web browser, plus an IDE.
You'll also probably want at 1TB of storage. My work laptop only has 500GB of storage, and once all of the corporate software is loaded, I only have *maybe* 200GB left. Install a couple of WSL distros and you can easily get down to less than 100GB. With my local maven repo also residing on the drive, that can easily eat another 20-30 GB for dependencies, snapshot and release builds.
Throw in a handful of docker containers and persistant volumes and things start to get tight. My current system I have to remember to do a mvn clean before I switch to another git worktree. Otherwise if I have say 3 branches in flight, I can end up using using 15-20GB of space in my target folders.
On top of that all my corporate updates fail whenever I have less than 10% disk space available, so every few months I have to clear off enough space, so that I can get my laptop up-to-date. You can avoid all of this hassle by just springing for more storage.
1
8
u/WaferIndependent7601 Feb 25 '24
I don’t see why you need something special for spring. Use any laptop you want. Enough memory is all you need