+ 1
What are the advantages and disadvantages of compiling a program in C with saving it in 32 bites or 64 bits ?
4 Respostas
+ 2
Most applications will run in 32-bit mode as they require less than 4GB of RAM (your computer's temporary memory). If you need more than 4GB of RAM for some reason, use a 64-bit Compiler but NOTE 64-bit applications WILL NOT exacute on a 32- bit OS.
+ 1
thanks.is that all ? any other advantage or disadvantage?
0
Also 64 bit applications will run faster, but require more ram and have a bigger file size.
32 bit will only run on 64 bit OS if the OS is built to handle it.
0
Those are the main things. I think 64 bit applications can perform operations on 64 bit integers quicker and more efficiently. There are extra features in the 64 bit instruction set, but you wouldn't notice this unless coding in assembly. There is better in built security when compiling to 64 bit.
This talks about some of the security benefits:
https://www.howtogeek.com/56701/htg-explains-whats-the-difference-between-32-bit-and-64-bit-windows-7/