What solvent for parts washer?

Anyones thoughts on diesel? I'v never used it as a solvent but my old timers brain seems to recall something about using it to clean out engines while they were running? (let the flaming (pun intended) begin!)