CMOS vs TTL

Here's a good chart showing how the different logic families can play with each other.