Move from Windows XP to Vista
-
Hello I guess this subject has already been discussed, and I found some articles on-site that cover part of my question. Our application is partly written in Java with JNI C++, the majority of the code though is written in C++. We run on Windows XP and are considering Vista. Can someone point me to a "migration" guide, to better understand: 1- 32bit -> 64bit porting, what does it mean and how can it be done as easy as it can. 2- If I compile our code as 32bit, will this mean a performance penalty on Vista. (mixed-mode?) 3- If I decide to move to 64bit, what does that mean with the JNI code ? will I still have to compile it as 32bit (because of Java) or not ? Thanks in advance guys.
____________ Sinan
-
Hello I guess this subject has already been discussed, and I found some articles on-site that cover part of my question. Our application is partly written in Java with JNI C++, the majority of the code though is written in C++. We run on Windows XP and are considering Vista. Can someone point me to a "migration" guide, to better understand: 1- 32bit -> 64bit porting, what does it mean and how can it be done as easy as it can. 2- If I compile our code as 32bit, will this mean a performance penalty on Vista. (mixed-mode?) 3- If I decide to move to 64bit, what does that mean with the JNI code ? will I still have to compile it as 32bit (because of Java) or not ? Thanks in advance guys.
____________ Sinan
Moving to Vista and moving to 64bit are two completely separate things. Don't try to do both at the same time. Moving to Vista, ensure your application works fine in a standard-user account, e.g. it may not write files into its installation folder, but only in the user's profile. I don't know about Java on 64bit, you'll have to figure out that on your own. However, x64 processors still support the 32bit instruction set, so you only have a small performance penalty for calls to the operating systems; nothing to worry about.
-
Moving to Vista and moving to 64bit are two completely separate things. Don't try to do both at the same time. Moving to Vista, ensure your application works fine in a standard-user account, e.g. it may not write files into its installation folder, but only in the user's profile. I don't know about Java on 64bit, you'll have to figure out that on your own. However, x64 processors still support the 32bit instruction set, so you only have a small performance penalty for calls to the operating systems; nothing to worry about.
Thanks for the reply. Since moving to Vista will cost money to my organization, I wanted to move to an OS that does not become EOL in 2 years (Vista32) so that's why I'm associating moving to Vista with moving to 64bit.. We won't want to move twice (once to vista and then to 64) I could validate that my application works on vista by just installing it there, and seeing that it is up and running (without any code change) - I could be doing that if it takes less than lets say 1mw.. As I understood the penalty of running mixed mode is not that low, meaning, to run 32bit apps on a 32bit os (winXP) will perform better than running the same 32bit app on a vista64 on the same machine.. Am I right ? Thanks again..
____________ Sinan