About Compression Ratios:
It was mentioned earlier, but to simplify why a diesel makes more power:
A good way to make a lot of power in an engine is to raise the compression ratio. However, gasoline will ignite on its own (before spark) when it's really squeezed. The way to increase compression (power) is to use higher octane fuel (which isn't as volitile). I'm not sure of the exact numbers, but I believe an engine rated for normal pump fuel is around 9-10:1 compression. With super high octane (I believe the highest obtainable octane is something like 120), compressions can be increased into the 12-13:1 ratio. (Alcohol even higher?).
The beauty of the diesel concept is, there is no fuel present during compression. The air can be compressed to a super potent level, then a violent explosion is set off wth the introduction of the fuel. (Compression ratios are around 17:1). To acheive the high pressures necessary (to push the fuel into this explosion), single pop injectors have long been used. When told to, they basically blow their wad once and wait until the next time. This gives a single, violent (hammering) explosion, driving the piston down hard (that's why the components need to be so big). The "new", High-Pressure-Common-Rail systems have a resevoir of pressurized fuel ready to go at all times. The injectors are controlled to spurt a little fuel to get things rolling, then dump the rest once the fire is good and hot. This makes the hammer much smoother (quieter), and burns cleaner, which appeals to a lot of the general public. By simply adjusting the timing/volume of the injection, the new engines can be made to "knock" just like the old ones.