Processor, OS : 32bit, 64 bit

Let’s try to answer this question by looking at people versus computers; hopefully this will shed some light on things for you: Things to Keep In Mind As amazing as they are, computers are very, very dumb. Memory People have memory (with the exception, arguably, of husbands and politicians.) People store information in their memory … Read more

How do I compile and link a 32-bit Windows executable using mingw-w64

That depends on which variant of toolchain you’re currently using. Both DWARF and SEH variants (which come starting from GCC 4.8.0) are only single-target. You can see it yourself by inspecting the directory structure of their distributions, i.e. they contain only the libraries with either 64- or 32-bit addressing, but not both. On the other … Read more

How to make Android apps which support both 32-bit and 64-bit architecture?

According to an official email sent by the Google Play Team, the action required is: If you haven’t yet, we encourage you to begin work for the 64-bit requirement as soon as possible. Many apps are written entirely in non-native code (e.g. the Java programming language or Kotlin) and will not need code changes. Please … Read more

What are the pros and cons of running IIS as 32bit vs 64bit on a 64bit OS?

The only perf advantage to running IIS on 64bit vevrsus 32-bit is to allow access to a much larger memory address space. If you are doing normal ASPX page processing, then it’s likely you don’t need to address more than 4gb from any single process. Suppose you run in 32-bit mode with a web-garden with … Read more

Size of pid_t, uid_t, gid_t on Linux

#include <stdio.h> #include <sys/types.h> int main() { printf(“pid_t: %zu\n”, sizeof(pid_t)); printf(“uid_t: %zu\n”, sizeof(uid_t)); printf(“gid_t: %zu\n”, sizeof(gid_t)); } EDIT: Per popular request (and because, realistically, 99% of the people coming to this question are going to be running x86 or x86_64)… On an i686 and x86_64 (so, 32-bit and 64-bit) processor running Linux >= 3.0.0, the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)