• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lessons on development of 64-bit C/C++ applications (conversion from 32-bits into 64-bits)

Ronald

Resource contributor
#1

krispy1001

Resource contributor
#2
Hi Ronald!

I would not worry about writing code for 32bit or 64bit so much, unless you are writing in a language like Assembly. Assembly you deal directly with the CPU's registers and there for have to take into account if your system is 32bit or 64bit. But most of the languages used for programming now are very high level programming languages. They are more text based, so that we the programmer can read the code more easily. And then we use a compiler to re-write the code into a language that the CPU's will understand.

So in short don't sweat it! Just concentrate on learning the logic of what programming is and the syntax of the language you decide to use.

Hope this helps you!

Thanks, Kris
 

Ronald

Resource contributor
#3
unless you are writing in a language like Assembly.
This topic might appear on my low-level coding agenda in the near future, Kris.

Thanks for your reply.
 
Last edited:

JB3DG

Resource contributor
#4
@krispy1001 If he is going to use C++ then he does have some quirks to deal with in the x64 vs x86 environment. Specifically when casting pointers into integers. You can't cast them into UINT32 or DWORD in the x64 environment or you will end up with memory access violations. Secondly, he will have to use separate libraries for x64 vs x86. But otherwise there is no concern.