64 bit programs

This is a discussion on 64 bit programs within the C++ Programming forums, part of the General Programming Boards category; i just bought a 64bit system and it should arrive in the next few days; do i need a special ...

  1. #1
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36

    64 bit programs

    i just bought a 64bit system and it should arrive in the next few days; do i need a special compiler once i plug it all in? (at the moment just started with c++ with ms vc++ 2005 on a 32 bit system)

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Depends if you plan on running a 64bit OS?

    Also having the name 'learning' is going to be a drag when you get good

  3. #3
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    Quote Originally Posted by zacs7 View Post
    Depends if you plan on running a 64bit OS?

    Also having the name 'learning' is going to be a drag when you get good
    yes, although i was going to go linux, as long as i keep 2 separate boxes one online and one offline i don't see any reason not to use vista.

    not sure about learning being a drag though

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    It may be a 64 bit machine, but I bet someone somewhere will still try and run TurboC 2.01 on it

    Your old compilers will in all probability work, but the result will be somewhat sub-optimal.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    exactly, i have finished an application in vb, but it is too slow with the amount of data it is processing. i have to make it in windows as the majority of users are on windows; in a perfect world windows would be open source and free or linux would be used by everyone. i was hoping that 64 bit compilers and systems would create a further performance boost, but i would need a 64 bit compiler wouldn't i? perhaps there are compilers that compile to 64 and 32bit applications?

  6. #6
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    well i found "wow64", however, isn't it just allowing 32 bit compilations to run on 64 bit os? what about true 64 bit applications?

    http://msdn2.microsoft.com/en-us/library/ms952405.aspx

  7. #7
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    "By default, the 32-bit version of Windows is limited to 4 gigabyte (GB) of address space, half of which is reserved for the kernel. This limits your average application to just 2 GB worth of virtual memory."

    "The 64-bit version of Windows provides 16 TB worth of address space" :snigger:

  8. #8
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    now it seems that
    http://msdn.microsoft.com/vstudio/ex...c/default.aspx

    it only allows "Build 32-bit native code applications designed for Windows using the Windows Platform SDK. "

    however when you click on the link it says that the SDK may enable 64 bit applications, but how and do they mean true 64 bit or 32bit emulated on 64 with wow64?

  9. #9
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    would the sdk here "Microsoft Windows SDK, Windows Vista and .NET Framework 3.0 Runtime Components, Nov 06 Edition - New"
    http://www.qmedia.ca/launch/psdk.htm

    together with express studio enable true 64 bit applications? anyone?

    i am not interested in the .net framework at all just want to make 64 bit vista apps.

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    To be honest, I wouldn't worry about it too much, so I would suggest you get visual studio express and the platform SDK and see what happens.

    The improvement from VB to 32-bit C++ seems much greater than the improvement from 32-bit to 64-bit.

    Besides, if you make a fairly decent job of the C++, then when you do eventually get a 64 bit compiler, you just recompile your code and you're up and running.

    Oh, and a forum is not a blog for your 10 minute thoughts.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  11. #11
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    Quote Originally Posted by Salem View Post
    Oh, and a forum is not a blog for your 10 minute thoughts.
    every post added information relevant to the topic :P :wave: although i am not so sure about yours

  12. #12
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    So just edit your previous post perhaps? :P

  13. #13
    Registered User learning's Avatar
    Join Date
    May 2007
    Location
    australia
    Posts
    36
    Quote Originally Posted by zacs7 View Post
    perhaps? :P
    perhaps...
    at night uv comes alive

  14. #14
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    If you can't explain what you're trying to do in basically one or two posts, you most likely have a problem organizing your thoughts, which will hurt your attempt at programming, since it requires logical, well planned, and well thought out strategies. If you have new information to add, you can edit your post as suggested, but really, five posts in a row to tell us that you don't know what you're doing....

  15. #15
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by MacGyver View Post
    If you can't explain what you're trying to do in basically one or two posts, you most likely have a problem organizing your thoughts, which will hurt your attempt at programming, since it requires logical, well planned, and well thought out strategies. If you have new information to add, you can edit your post as suggested, but really, five posts in a row to tell us that you don't know what you're doing....
    True, mashing the keyboard as you go will get you no where quickly

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 05-21-2009, 05:47 PM
  2. A few questions about 64 bit and Windows...
    By yaya in forum Tech Board
    Replies: 9
    Last Post: 08-28-2008, 08:49 AM
  3. Replies: 16
    Last Post: 11-23-2007, 12:48 PM
  4. Reading 64 bit IEEE floating point from a file
    By rcobb in forum C Programming
    Replies: 1
    Last Post: 04-23-2003, 07:28 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21