Conversation

Jarkko Sakkinen

9950X has been pretty good choice for compiling complex Rust projects.

I doubt that ThreadRipper would have been worth of the price and also electricity consumption given that linking is the main bottleneck of the larger project. In single-core performance 9950X is great and I would cherish the day really when 16 physical cores would be THE bottleneck for the liking process to be honest.

E.g. for compiling Buildroot/Yocto images or similar multi-executable project you could get much more out of ThreadRipper than in my use.

#rust #rustlang #threadripper #ryzen
3
2
1

@jarkko I’m confused, isn’t the 9950x **a** threadripper?

1
0
0

@jarkko you should look into WILD by @davidlattimore https://github.com/davidlattimore/wild - an incremental linker written in Rust. I contribute a few dollars per month 💌

1
0
1
@ezivkovic @davidlattimore I've been playing with mold. I guess this is something more fresh?

I'm always eager to try out latest and greatest in linking so I thank you for the tip anyhow :-)
1
0
0

@jarkko I have a 3960X threadripper and in hindsight I shouldn't have gone with it. The socket turned out to be a dead end, it uses power like crazy and heats up the room. Mainboards are crazy expensive and also buggy (I've had two of them, one was buggy, the other is buggy plus as a fatal design flaw on top).

But it was pretty high up the benchmarks when it comes to code compilation for quite a while. Even Apple Silicon took a while took years to overtake it. So there's that.

1
0
0
@FSMaxB OK.... so I'm not sure where's what, but that said whatever works for you works for me and I hope vice-versa ;-)
1
0
0

@jarkko I'm just telling you that not going with a ThreadRipper is probably a good choice.

1
0
1
@FSMaxB OK got it :-)

M4 Pro is really super good. For me x86 has the benefit that sometimes I end up using toolchains that are provided only as binary. Kind of stupid reason but not that uncommon in embedded.

Or you have option to compile toolchain yourself from source in some cases but you know super incovenient...

I sometimes do ARM64 Linux compilations with my M2 Pro Mini.
1
0
0

@jarkko Yeah, I'm thinking really hard about replacing my ThreadRipper with an M4 Mac Studio some time after that is out (if ever). Just not sure whether I want to be running my main Linux system on top of mac OS in a VM for the foreseeable future until Asahi Linux catches up with M4. (and whether I want all my main drives to be attached via Thunderbolt).

0
0
1

@jarkko @davidlattimore wild's goal is to support incremental linking!

1
0
1
@ezivkovic @davidlattimore Rust should be quite feasible for that because it is for most part static linking blobs together to a larger blobs. There is no DSO deps and complexity of PLT/GOT.
0
0
0