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 5961983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:02:31+00:00 2026-05-22T19:02:31+00:00

I am using Visual C++ 2010 developing 32bit windows applications. There is something I

  • 0

I am using Visual C++ 2010 developing 32bit windows applications. There is something I really want to use inline assembly. But I just realized that visual C++ does not support inline assembly in 64bit applications. So porting to 64bit in the future is a big issue.

I have no idea how 64bit applications are different from 32bit applications. Is there a chance that 32bit applications will ALL have to be upgraded to 64bit in the future? I heard that 64bit CPUs have more registers. Since performance is not a concern for my applications, using these extra registers is not a concern to me. Are there any other reasons that a 32bit application needs to be upgraded to 64bit? Would a 64 bit application process things differently when compared with a 32bit application, apart from that the 64bit applications may use registers or instructions that are unique to 64bit CPUs?

My application needs to interact with other OS components e.g. drivers, which i know must be 64bit in 64bit windows. Would my 32bit application compatible with them?

  • 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-22T19:02:31+00:00Added an answer on May 22, 2026 at 7:02 pm

    Visual C++ does not support inline assembly for x64 (or ARM) processors, because generally using inline assembly is a bad idea.

    1. Usually compilers produce better assembly than humans.
    2. Even if you can produce better assembly than the compiler, using inline assembly generally defeats code optimizers of any type. Sure, your bit of hand optimized code might be faster, but the fact that code around it can’t be optimized will generally lead to a slower overall program.
    3. Compiler intrinsics are available from pretty much every major compiler that let you access advanced CPU features (e.g. SSE) in a manner that’s consistent with the C and C++ languages, and does not defeat the optimizer.

    I am wondering would there be a chance that 32bit applications will ALL have to be upgraded to 64bit in the future.

    That depends on your target audience. If you’re targeting servers, then yes, it’s reasonable to allow users to not install the WOW64 subsystem because it’s a server — you know it’ll probably not be running too much 32 bit code. I believe Windows Server 2008 R2 already allows this as an option if you install it as a “server core” instance.

    Since performance is not a concern for my appli so using the extra 64bit registers is not a concern to me. Is there any other reasons that a 32bit appli has to be upgraded to 64bit in the future?

    64 bit has nothing to do with registers. It has to do with size of addressable virtual memory.

    Would a 64 bit app process different from a 32bit appl process apart from that the 64bit appli is using some registers/instructions that is unique to 64bit CPUs?

    Most likely. 32 bit applications are constrained in that they can’t map things more than ~2GB into memory at once. 64 bit applications don’t have that problem. Even if they’re not using more than 4GB of physical memory, being able to address more than 4GB of virtual memory is helpful for mapping files on disk into memory and similar.

    My application needs to interact with other OS components e.g. drivers, which i know must be 64bit in 64bit windows. Would my 32bit application compatible with them?

    That depends entirely on how you’re communicating with those drivers. If it’s through something like a “named file interface” then your app could stay as 32 bit. If you try to do something like shared memory (Yikes! Shared memory accessible from user mode with a driver?!?) then you’re going to have to build your app as 64 bit.

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

Sidebar

Related Questions

We are developing C# 4.0 windows based application using visual studio 2010. Now we
While developing and ASP.NET application in C# or VB using Visual Studio 2005/2008/2010 (Not
i am developing window application using visual studio and c# i want to insert
Can I avoid using MS AJAX completely while developing ASP.NET Webforms applications and use
I'm developing a Word 2010 add in using Visual Studio 2010, and C#. I've
I'm developing a website using Asp.Net 3.5 in Visual Studio 2008 and we use
I'm using Visual Studio 2010 and AnkhSvn. There's a panel called PendingChanges (it's main
I am using Visual Studio 2010 with IIS 5.1 but unable to debug my
We are currently building the framework for developing a C# .net application using visual
I am developing C89 on Visual Studio 2010 Ultimate Beta (Win 7). I don't

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.