Skip to main content
davmac's user avatar
davmac's user avatar
davmac's user avatar
davmac
  • Member for 14 years, 2 months
  • Last seen this week
179 votes
Accepted

polymorphic_allocator: when and why should I use it?

89 votes

Rails 4: assets not loading in production

65 votes

How can I find an overlap between two given ranges?

49 votes
Accepted

Arithmetic right shift gives bogus result?

36 votes
Accepted

g++ compile error: `.rodata' can not be used when making a shared object; recompile with -fPIC

30 votes
Accepted

What is the difference, if any, between LONG and FAR jumps in Assembly?

18 votes
Accepted

Why in ReentrantReadWriteLock, should the readLock() be unlocked before writeLock().lock()?

18 votes

Does int vs long comparison hurt performance in Java?

17 votes

Generics compilation error with ternary operator in Java 8, but not in Java 7

17 votes
Accepted

Linux CreateProcess?

17 votes
Accepted

Is the strict aliasing rule incorrectly specified?

16 votes

How do I explicitly call an exception-throwing method in C++?

15 votes
Accepted

std::move behaves differently on different compilers?

13 votes

How can I split a Polygon by a Line?

13 votes

Inconsistent strcmp() return value when passing strings as pointers or as literals

12 votes
Accepted

Once again: strict aliasing rule and char*

12 votes
Accepted

Basic spin-lock mutex implementation ordering

12 votes

Is type-punning through a union unspecified in C99, and has it become specified in C11?

12 votes
Accepted

Why compilers no longer optimize this UB with strict aliasing

12 votes
Accepted

Does referencing constants without a dollar sign have a distinct meaning?

10 votes

GCC/Clang x86_64 C++ ABI mismatch when returning a tuple?

10 votes

How to allocate "huge" pages for C++ application on Linux

10 votes
Accepted

What does public<T> void run (T object ) { } means?

10 votes

C++ placement new vs copy assignment

10 votes

What's the difference among array, &array and &array[0] in C language?

10 votes
Accepted

How does multiplying by 66049 duplicate bits?

10 votes
Accepted

What exactly happens when you create a pipe after a fork() command?

9 votes
Accepted

Volatile keyword does not work as expected with multiple instances of a class

9 votes

Type 'uint32_t' could not be resolved

9 votes
Accepted

std::move(T&&) and temporary object. Where is the temporary coming from?

1
2 3 4 5
15