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

  • SEARCH
  • Home
  • 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 432667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:05:50+00:00 2026-05-12T20:05:50+00:00

I recently got my home PC upgraded to a quad-core CPU and 64-bit OS.

  • 0

I recently got my home PC upgraded to a quad-core CPU and 64-bit OS. I have some former experience with C/C++ and I’m really “itching” to try exercising some 64-bit CPU capabilities. What’s a good “Hello World” type program that demonstrates 64-bit multi-core capabilities by doing some simple things that don’t work well at all in 32-bit single-core code?

I’m just trying to get a “feel” for how these new CPUs can impact the performance of C/C++ code in extreme cases.

  • 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. Editorial Team
    Editorial Team
    2026-05-12T20:05:51+00:00Added an answer on May 12, 2026 at 8:05 pm

    OpenMP would be an easy way to play around with multicore programming in C++. The wikipedia example doesn’t really do anything processor intensive, but you could replace the ‘cout’ with some independent, long-running function.

    OpenMP

    As far as 64-bit, a lot of your performance increase is going to come from a few places.

    Increased throughput, because all data elements are wider the processor can process more data in any given clock cycle. Take a look at some of the Microsoft benchmarks for Exchange Server, they have now moved to support 64-bit only because the throughput increases are incredible.

    More registers, since the 64-bit architecture has a large number of registers most function parameters and the return value can be passed using registers.

    In the x86 ABI with some calling conventions one or maybe two parameter could be passed via registers and the rest have to be pushed onto the stack. With a common calling convention like cdecl not a single parameter or return value is placed in a register. Since the stack is located in main memory this can be a big performance hit.

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

Sidebar

Related Questions

I recently configured Apache with eruby and got some rhtml pages running. I have
We recently got some data back on a benchmarking test from a software vendor,
I recently got into Java. I have a background in dynamic languages and I'm
I have just recently got involved in a classic ASP.NET project which contains lots
I have an issue that has got me pretty stumped, and would appreciate some
I recently got some help on here from SLaks (thank you) on the behavior
I recently got tossed some C# code to make some minor cosmetic changes to.
I have recently got myself into learning PHP. I have a mac and the
I have an Android app created using Titanium's 1.8.2 SDK. I recently got it
I recently got a ForeignKey clash in my Django model. I have the need

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.