Results 1 to 6 of 6
  1. #1

    Default developing on 64-bit Vista for 32-bit?


    Is it possible to develop in a 64-bit environment but compile the code compatible for 32-bit computers? (any programming language, or specifically Java and Python)

  2. #2
    Since many 32 bit programs can run on 64 bit
    you could develop it using 32 bit IDE.

    But haven't tried doing that.

  3. #3
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Depends upon what you are developing, if you use some functions the strictly applies to this architectures such x86/x64 or IA64 or Any CPU’s, then you have to compiled it under its platform. The rest if you want to run in both 32bit and 64bit you should avoid using large value in memory allocations such as size_t mem_size = 1000000000 (or more)… allocating large block of memory size that only 64bit machine can support then there’s no chance to compile it under 32bit…unless you do so extra codes like…

    If __win32__ (initialize)
    if __win64__ (initialize)

    then compile it....


    Mostly 16 bit application can run at 32bit machines, then it is possible either to run any 32bit under 64bit machines… it just a matter of memory allocation I guess.

    And talking about Python, yes, it’s possible… by default python uses 32bit, you can check on their CVS and see it with your own. Other thing is that windows XP has its own "compatibility mode", creating 32-bit virtual address spaces within the native 64-bit address space. Maybe you will have only some difficulties during debugging, but there are some tools anyway and it’s free.

  4. #4
    Since both Java and Python are interpreted language. You must install the 64-bit runtime environment for both languages so that you maximize the performance.

  5. #5
    @ares623

    When using Visual Studio 2008, the default platform is "Any CPU", meaning it will run on both 32-bit and 64-bit machines (isn't that easy? not!). But if you need to set your app to exclusively run on either CPU platform you can also do this by just a few clicks. No additional install necessary

  6. #6
    The link below will provide some tips when developing on 64-bit platform

    Visual Studio .NET Platform Target Explained : Visual Studio Hacks

  7.    Advertisement

Similar Threads

 
  1. For Sale: Windows Vista Ultimate 32-Bit
    By mikeL in forum Computers & Accessories
    Replies: 0
    Last Post: 02-20-2010, 12:13 AM
  2. For Sale: Genuine Microsoft Windows Vista Ultimate 32 + 64 bit Retail Version
    By [DSX] in forum Computers & Accessories
    Replies: 8
    Last Post: 11-10-2009, 10:17 PM
  3. For Sale: Authentic Windows Vista Ultimate 32 and 64 bit software
    By bettakun in forum Computers & Accessories
    Replies: 24
    Last Post: 06-08-2009, 08:55 PM
  4. Vista 32-bit vs 64-bit?
    By ares623 in forum Software & Games (Old)
    Replies: 7
    Last Post: 05-24-2009, 06:25 PM
  5. For Sale: Microsoft Windows Vista Ultimate (32 and 64 bit) DVD
    By jhnpl in forum Computers & Accessories
    Replies: 2
    Last Post: 10-22-2008, 08:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top