6 ms·
As someone who only needs raw CPU single-thread power when waiting for an executable to link (while using a stock linker for rust and taking a release build tak
by treesciencebot 4y ago
As someone who only needs raw CPU single-thread power when waiting for an executable to link (while using a stock linker for rust and taking a release build takes minutes, which is not much time but also a lot of time), I wonder whether I should go with the new M2 Max's or build a desktop computer (%99 of the time, I will be sitting my desk) with these shiny CPUs to get the most single-thread power (the parallelization does not really help in my workloads [esp compiler stuff, since everything is pretty much incremental and once I take the first build then it is only linking]).
- ribit 4y agoFor absolute maximal single-threaded power current crop of Intel desktop CPUs are probably the best. But they pay tremendous price in power usage for this. A passively cooled M2 will get you around 80-90% of that single-threaded performance at 1/10 power consumption or so.
- johnklos 4y agoYou should definitely check out Mold: https://github.com/rui314/mold https://github.com/rui314/mold
- nicoburns 4y agoWhy not switch to a faster linker if linking is your bottleneck? Mold will use all your cores. And even LLD will likely be much faster than the stock linker. I don’t think there’s much in it between Apple, Intel, and AMD with regards to single threaded performance at the moment, so I’d probably make your decision based on other factors.