News for hackers. Stuff that matters.
Re:Issues with porting C++ code to a 64-bit platform by asynchronous13 on Monday April 01, 2013 @05:07PM (#5475936)
I happen to be working on some 32/64 bit code right now, and this article has some very useful tips. Pretty sure they mixed up arguments on their memset() call in section 3 though:

  memset(values, ARRAY_SIZE * sizeof(size_t), 0);
should be:

  memset(values, 0, ARRAY_SIZE * sizeof(size_t));
That would not be a fun bug to track down.
Re:Issues with porting C++ code to a 64-bit platform by AndreyKarpov on Tuesday April 02, 2013 @01:39PM (#5480842)
Thank you. I will correct it.