Answer the question
In order to leave comments, you need to log in
What programming languages give control over processors, cores, threads?
To clarify the question:
"Computing applications that want to squeeze the maximum performance out of hardware require fine-grained control over where their threads will be placed: closer to each other on neighboring hyperthreads, or vice versa, further away on different processors."
What programming languages, libraries, frameworks(?), programming techniques allow a programmer to control in such detail the location of his data and code by processors, cores, threads? Is it even possible?
Almost all languages provide tools for multi-threaded programming, that is, launching a thread or task, but do they have the ability to control from the programmer's side on which processor, core, hyperthread the code will be executed?
I give preference to high-level languages, and further down to the hardware ....
Answer the question
In order to leave comments, you need to log in
Some kind of pessimistic question. As if almost all of them can do it. The difference is rather in convenience, for example, in C # (with TPL, async-await) all this will definitely be more convenient than in C ++, Java.
Isn't it across on which core the code is being executed? Well, the question has nothing to do with the YaP, your Wishlist is under the jurisdiction of the OS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question