Archive

Archive for May, 2009

VC++16 has decltype in Beta 1 (so Linq to C++0x looks a little nicer)

May 22, 2009 8 comments

Updated 2011-10-31 – Major update based on boost range adaptors!!

A while ago I wrote up a little demo of using lambdas to implement convenient lazy list comprehension in C++0x, but at the time the VC++ compiler I was using lacked decltype, and I found a need for it.

I just tried out the Beta 1 that was released this week, and it has decltype, so here’s the updated sample:

Read more…

Categories: C++0x Tags:

Recovery

May 14, 2009 Leave a comment

If you want your application to be able to recover from a crash, it would NOT be ideal for it to restore the exact state it was in immediately before the crash, because then it would just crash again.

(Same goes for economies, presumably).

Categories: state Tags:

When to use Stored Procedures?

May 11, 2009 Leave a comment

No coding blog would be complete without an overly-simplistic salvo fired into this bloody online battlefield, so here’s mine.

What if you’re writing an application that will make heavy use of an RDBMS?

Read more…