Yes they have the same name but are two compleatly different CPU's. The Pentium 4 was based on the Netburst micro Architecture and it was IMO crap. Pentium 4's were really slow and were known for running really hot. The new Pentiums are based on the "new(er)" Core micro architecture which is faster, cooler and more effcient than the Pentium 4's. Each new generation of Intel CPU's have contiuned the Pentium name and have made improvements on the previous generaion. So an Ivy Bridges Pentium G is a million times better than the old Pentium 4's.
Ohh okay, so the Pentium B940 is better than Pentium 4?
Sorry I didn't quite get it.