Gas engines have a significantly less steep drop in performance than do electric engines, since gas engines generate lots of heat, and electric engines do not.
A gas engine might lose 10% range at 0 degrees F with most of that related to getting the engine up to proper operating temperature, but once up to temperature a gas engine can maintain that temperature with a small hit to performance efficiency. In contrast, an EV will lose over 20%+ range at the same temperature (and can lose as much as 40% of their range at sub-zero temperatures.)
Diesel engines typically run (inefficiently) to warm themselves up and be efficient, but that is a larger energy cost, mainly because that process captures a fraction of the heat from the combustion.
An inefficient Diesel engine driving the dynamo.