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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:07:26+00:00 2026-05-12T17:07:26+00:00

I have a VC++ project (2005) that generates both 32-bit and 64-bit dlls. The

  • 0

I have a VC++ project (2005) that generates both 32-bit and 64-bit dlls. The 32-bit dll is 1044 KB whereas the 64-bit version is 1620 KB. I’m curious why the size is so large. Is it just because of the larger address size, or is there a compiler option that I’m missing?

  • 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-12T17:07:27+00:00Added an answer on May 12, 2026 at 5:07 pm

    Maybe your code contains a lot of pointers.

    The Free Lunch Is Over

    ….

    (Aside:
    Here’s an anecdote to demonstrate
    “space is speed” that recently hit my
    compiler team. The compiler uses the
    same source base for the 32-bit and
    64-bit compilers; the code is just
    compiled as either a 32-bit process or
    a 64-bit one. The 64-bit compiler
    gained a great deal of baseline
    performance by running on a 64-bit
    CPU, principally because the 64-bit
    CPU had many more registers to work
    with and had other code performance
    features. All well and good. But what
    about data? Going to 64 bits didn’t
    change the size of most of the data in
    memory, except that of course pointers
    in particular were now twice the size
    they were before. As it happens, our
    compiler uses pointers much more
    heavily in its internal data
    structures than most other kinds of
    applications ever would. Because
    pointers were now 8 bytes instead of 4
    bytes, a pure data size increase, we
    saw a significant increase in the
    64-bit compiler’s working set. That
    bigger working set caused a
    performance penalty that almost
    exactly offset the code execution
    performance increase we’d gained from
    going to the faster processor with
    more registers. As of this writing,
    the 64-bit compiler runs at the same
    speed as the 32-bit compiler, even
    though the source base is the same for
    both and the 64-bit processor offers
    better raw processing throughput.
    Space is speed.)

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

Sidebar

Related Questions

I have a DLL project for Visual Studio 2005 that has XML documetation file
I have a VS 2005 C++ project with both Debug and Release builds. I've
I have a project on SourceSafe that the team work with VS 2005. I
I have a VS 2005/MSBuild 2.0 project (let's call it Project A) that I
I have a SQL Server report project in VS 2005 that won't preview one
I have a project that runs some code on SSIS in SqlServer 2005 and
I am using C++ and Visual Studio 2005. I have a project that memory
I have around 50 projects in Visual Studio 2005 that I am building a
I have some strange linking problem in my Visual Studio 2005 C++ project. As
We have a large Visual Studio 2005 C++/Mfc solution, 1 project with around 1300

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.