News for hackers. Stuff that matters.
Re:AMD Ryzen 5 1600X vs Core i5 Review by the8472 on Tuesday April 11, 2017 @10:48AM (#14088296)
> opening your IDE, running tests are also single threaded

That very much depends on the IDE and testing framework

Re:AMD Ryzen 5 1600X vs Core i5 Review by rsynnott on Tuesday April 11, 2017 @11:07AM (#14088542)
Yeah, I'm not sure what IDE they're talking about, but certainly IntelliJ will happily use 800% CPU, causing the fans to spin up impressively, when starting up/reindexing/doing any of the slow things that IntelliJ likes to do.
Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @11:23AM (#14088758)
Glad to learn that the reindexing is multi threaded :)
Re:AMD Ryzen 5 1600X vs Core i5 Review by yeukhon on Tuesday April 11, 2017 @10:59AM (#14088437)
Yes... and he's trying to say a lot of software out there aren't written multi-threaded because either there wasn't much performance gain or the developers simply choose not to.
Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @11:25AM (#14088787)
Compilation and linting are mostly mono threaded. At least in the languages I use. That is a lot of direct waiting.
Re:AMD Ryzen 5 1600X vs Core i5 Review by shakna on Tuesday April 11, 2017 @12:24PM (#14089617)
> Compilation and linting are mostly mono threaded.

Which languages fall on your list? (Just curious)

I use:

* C (make and gcc can thread)

* Python (no real thread story)

* JS (depends)

* Scheme (usually threads)

Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @12:56PM (#14089946)
C, C++. Compilation can be multi threaded. Linking is inherently mono threaded. A number of optimizations flags are mono threaded (and take very long).

Python. Lint is mono threaded. The virtualenv setup is mono threaded (running requirements.txt).

Java. Mono threaded for package generation (jar files). Not sure about compilation and running tests. Most of Eclipse is mono threaded (last I used it) like indexing and rendering and auto completion.

Outside of that, opening any IDE, tool, application or browser is a mostly single threaded operation. The rendering of most GUI is also single threaded.

Re:AMD Ryzen 5 1600X vs Core i5 Review by neilc on Tuesday April 11, 2017 @06:33PM (#14093135)
> Linking is inherently mono threaded.

This is actually not the case -- modern linkers (e.g., lld) can take advantage of multiple cores.

https://lld.llvm.org/

Re:AMD Ryzen 5 1600X vs Core i5 Review by gpderetta on Wednesday April 12, 2017 @07:06AM (#14096518)
so can the 'gold' linker.
Re:AMD Ryzen 5 1600X vs Core i5 Review by neilc on Thursday April 13, 2017 @01:14PM (#14108932)
Interesting -- do you have a link on this?
Re:AMD Ryzen 5 1600X vs Core i5 Review by jschwartzi on Tuesday April 11, 2017 @03:54PM (#14091821)
Make definitely requires a well-specified list of dependencies, meaning that the targets and prerequisites need to specify a DAG from the source files through the intermediates to the final target executable(s). If that's not complete then a threaded make will fail.

Most recursive make systems can't be run in jobserver mode because the graph is not well-specified.