Yeah, it's more energy dense & cheaper to make (given the availability of viable waste products) & easier to store. It's better all around IMO. The negatives are the engines are generally heavier & more expensive which is probably the main reason gasoline vehicles became dominant. But technology has brought weight & cost down pretty dramatically & gasoline engines are moving to direct injection like diesels anyway which removes some of the cost benefits. From what I understand there is a portion of crude oil that gets distilled into gasoline either way, so gasoline engines probably aren't going away either, but diesels with mechanical injection will run on pretty a wide range of stuff.