They both use a camshaft to actuate valves and the compression-ignition-power-exhaust stroke sequence is identical although the thermodynamics (adiabatic this and isentropic that) are very different.
As long as you note that Diesel is far superior, you should get an A
Sixto
93 300SD