Yeah, if you don't care about air pollution. Diesel soot causes lung disease and cancer.
Regular 4-cycle engines have been cleaned up over the years.
Diesels are a threat to human health-quit buying them.
This is a common misunderstanding and it's not surprising why one would think this unless they look hard at some real data (that is from a relatively unbiased source)
Diesels are traditionally high in nitrogen compounds and particulate matter though they emit lower amounts of carbon monoxide, hydrocarbons and carbon dioxide than gassers. Those latter ones are the big bads for global warming.
Great strides have been made in cleaning up diesel exhaust, though passenger car diesel use in the US is a tiny, tiny, tiny fraction compared to basically our entire infrastructure as far as commerce, construction, defense and travel being all primarily diesel. Trucks and trains and such are a lot cleaner than they used to be as well thankfully, since they ain't going away anytime soon.
While progress hasn't stood still with gassers, or hybrids/electric, it still takes less energy to refine diesel which is no small shakes in/to the US, and creating batteries or fuel cells (or newer more efficient gas cars in general) takes an absolute ton. Shiny new efficient low pollution gassers that people actually WANT to drive don't just spring out of thin air.
Europe has been wrestling with this for years as they have had more strict gasser emissions and less strict diesel emission requirements, and have had a whooooloe lot more passenger diesel vehicles, I suspect largely due to the superior longevity and MPG with the fuel prices they have there.
I'm sympathetic to folks that are especially sensitive to diesel fumes, but overall it's pretty well tit for tat far as I can tell. If one wants to make things better, encourage someone to invent better batteries. If you can provide me with a reasonably priced battery the size/weight of a tank of fuel that will provide reasonable power to cover the kinda miles a 40mpg fuel engine will cover on a tank/charge, I'll be first in line to start converting old cars over. We've had the motors and control systems for years, just waiting on reasonable power. I've got ten or fifteen Porsche Boxsters that are hopelessly upside down financially with bad motors that are just screaming for electric power...