231 reputation
12
bio website faradayneighbourhood.com
location Canada
age 29
visits member for 3 years, 8 months
seen 2 days ago

Nov
22
awarded  Yearling
Aug
3
comment std::shared_ptr as a last resort?
@gbjbaanb: yes they're at the cpu level, but on a multi-core system you're invalidating caches and forcing memory barriers.
Mar
30
answered while(true) and loop-breaking - anti-pattern?
Mar
14
comment Should you ever release something that you yourself could hack?
@Mason: The recipients can't, but IT can, and if you're sending sensitive information (which security vulnerabilities most definitely are) offsite, you are likely to get into a world of hurt.
Feb
7
comment What are the practical uses of Windows Services?
No, Windows Services cannot be installed or started without admin permissions. But any user can communicate with them if the service is listening (think sockets, named pipes, etc..)
Feb
4
comment std::shared_ptr as a last resort?
The point is, don't just use shared_ptr like it's the silver bullet that will solve all your memory leak problems just because it's in the standard. It's a tempting trap, but it's still important to be aware of resource ownership, and unless that ownership is shared, a shared_ptr<> is not the best option.
Feb
4
answered std::shared_ptr as a last resort?
Feb
2
answered C programming in Windows 7
Aug
29
awarded  Teacher
Feb
22
comment What is the best aproach for coding in a slow compilation environment
See laso stackoverflow.com/questions/373142/… for speeding up C++ compile times.
Feb
14
answered How can programming ability be used to help people in poverty?
Feb
14
awarded  Supporter
Nov
8
comment Why are zero-based arrays the norm?
+1 for half-open intervals - it just makes everything easier.