What hardware do I need to compile a large project?
Asked by
CleverTornado83
I'm working on a project with about 1 million lines of code and I'm wondering what kind of hardware I'd need to compile it efficiently. Does anyone have recommendations or experiences to share?
Answers
I use a fairly recent laptop, and compiling a project with 110,000 lines takes about 40 seconds with Maven. If you utilize tools like JRebel, instant changes can be done while coding, which is sweet!
Reply to this answer
For faster compilation, the more cores you have, the better. A decent quad-core laptop with 8 GB of RAM should work just fine! Plus, remember that the bottleneck might be in testing or other build processes, not just the compilation itself.
Reply to this answer
Honestly, even something simple like a Raspberry Pi might get the job done, but it would be super slow. You'd be waiting forever to compile a large codebase on that!
Reply to this answer
I have around 106,000 lines of code and it compiles in about 8 seconds on my workstation with a powerful Intel processor and 128 GB RAM. If you're serious about speed, investing in a decent machine pays off!
Reply to this answer
If you're focused on Java, pretty much any modern computer can handle it without issue. Do you have a current setup that's slow? That might help to figure out if you need an upgrade or not!
Reply to this answer
Add your answer
Answers are reviewed before publication.
QuickWit87: Yeah, unless you're in no rush at all, a Pi might just take until the end of time to finish.