Pentium D Dual-Core vs. Core 2 Duo

So my friend is planning on buying a Visionman computer and he … and I don’t know what’s better between these two:
Pentium D 945 3.4GHz Dual Core 4Mb 64bit (775) 65nm
and
Core 2 Duo E6400 2.13GHz 2Mb (775)

Can you guys help me out please? :wink: