Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 164827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:48:47+00:00 2026-05-11T11:48:47+00:00

So I did not look at the right location before posting this.. I was

  • 0

So I did not look at the right location before posting this..

I was looking at the result of the computer language benchmark game:  <http://shootout.alioth.debian.org/u32q/index.php>  And it seems that most of the fastest solutions are still C/C++ using just  a single core of the 4 core machine that runs the tests.  I was wondering if multi-core is worth it at all for single tasks or if you  really need some more speed just tune up your code, rewrite in C/C++ instead. 

When you click on the full benchmark link like: http://shootout.alioth.debian.org/u32q/benchmark.php?test=knucleotide&lang=all it is obvious that quite a few solutions use multiple core.

It would still be interesting to hear of your personal experiences:

Have you had success using 4 or 8 cores in order to actually improve performance on a single task?

What tools/language did you use?

How big was the improvement?

Was it worth the effort?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:48:48+00:00Added an answer on May 11, 2026 at 11:48 am

    And it seems that the fastest solutions are still C/C++ using just a single core of the 4 core machine that runs the tests.

    No, that’s not true for all codes. In fact, of the codes I’ve looked at, all use multiple parallel threads, and thus multiple cores. In fact, some (e.g. k-nucleotide) use fancy architecture like OpenMP (or, also interesting, SSE parallelization) to help parallelization.

    EDIT In fact, the fastest C++ solution for every problem uses parallel threads, with three exceptions:

    1. fasta benchmark, hard (but altogether possible) to parallelize due to random generator usage.
    2. pidigits, uses the GMP library.
    3. n-body, could be parallelized.

    … and most other solutions also use SSE2 support.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just could not get this one and googling did not help much either.. First
I searched and found this question but did not like the answer. Is there
Lot of googling did not help me! Are there any good dictionary web based
I create a new Button object but did not specify the command option upon
I have some code which I did not originally create that uses _beginthreadex and
According to MSDN : If you did not use the Start method to start
If you do not know what Pipe Viewer is (I did not know about
I was asked a question in C last night and I did not know
After being troubled by an issue that I simply did not have the knowledge
I checked out a project from SVN and did not specify the project type,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.