As a general rule, deisals last longer for several reasons. They rev lower, so less extreme running wear. They tend to run a bit cooler. The fuel itself is a lubricant. They have far simpler engine management. Until recent breakthroughs in deisal construction, they had far less power.In the past deisals had higher emisions as well.
the main reason for a predominance of gas engines is supply and demand. MB easily cornered the market for high line Euro car diesals. The low power of diesals make them less popular for buyers, and most of the people willing to deal with diesals buy MB.
Modern diesals have far more power, but I don't know if that has come at the expense of longevity. They also require imressive catylitic convertors to meet fleet emision standards.
Diesal fumes stink like holy hell, they sound like they are self destructing when they run, Only model cars and planes should have glow plugs, and the oil stains you hands badly. torquing the head bolts on a diesal will make you feel like a real man. I saw a MB diesal with almost 900k mi, and when I worked on MB, we had quite a few knocking right along with over 400k.
I hate diesals.