this post was submitted on 29 Jun 2025
20 points (100.0% liked)

Programming

21254 readers
71 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 !webdev@programming.dev



founded 2 years ago
MODERATORS
 

My computer is slow at compiling, esp. LLVM. If I were to buy a new computer, what components would I focus on to improve this?

you are viewing a single comment's thread
view the rest of the comments
[–] slacktoid@lemmy.ml 6 points 2 days ago (1 children)

Lots of RAM, 32+, and compile in tmpfs.

[–] staircase@programming.dev 2 points 2 days ago (2 children)

I'm thinking 2x32GB, tempted by more but seems excessive

[–] chonkyninja@lemmy.world 4 points 2 days ago

Ram is cheap as fuck, time is not.

[–] TehPers@beehaw.org 2 points 2 days ago (2 children)

Very few things need 64GB memory to compile, but some do. If you think you'll be compiling web browsers or clang or something, then 64GB would be the right call.

Also, higher speeds of DDR5 can be unstable at higher capacities. If you're going with 64GB or more of DDR5, I'd stick to speeds around 6000 (or less) and not focus too much on overclocking it. If you get a kit of 2x32GB (which you should rather than getting the sticks independently), then you'll be fine. You won't benefit as much from RAM speed anyway as opposed to capacity.

[–] slacktoid@lemmy.ml 2 points 2 days ago (1 children)

Can you define unstable? I would like to know more about that

[–] TehPers@beehaw.org 2 points 1 day ago (1 children)

It's less of an issue now, but there were stability issues in the early days of DDR5. Memory instability can lead to a number of issues including being unable to boot the PC (failing to post), the PC crashing suddenly during use, applications crashing or behaving strangely, etc. Usually it's a sign of memory going bad, but for DDR5 since it's still relatively young it can also be a sign that the memory is just too fast.

Always check and verify that the RAM manufacturer has validated their RAM against your CPU.

[–] slacktoid@lemmy.ml 1 points 1 day ago

Oooh interesting. Thank you!

[–] staircase@programming.dev 1 points 2 days ago (2 children)

how do you know this stuff?!

hmmm, perhaps 2x32GB is overkill ...

i'm getting a 6000/28CL

[–] sip@programming.dev 1 points 1 day ago

2x32 is good and fairly cheap. get a mobo with 4 slots and you can add another 2x32 if needed.

[–] TehPers@beehaw.org 1 points 1 day ago

DDR5-6000/CL28 should be fine. Make sure to enable the XMP/EXPO profile in your BIOS after installing it.

You can follow hardware reviewers like GamersNexus, LTT, HardwareUnboxed, etc if you want to stay up to date (which is what I do), or look at their content if you just want a review for a product you're looking at.