Yeah I know another long winded post--- Just hope it is worth the read. I know some can add to or even correct this information, but use it for what it is worth to you. Enjoy
The difference is in the properties of the fuel. Both most be atomized to burn properly.
Gasoline is usually mixed with air before it enters the cylinder and is compressed as a mixture to be ignited by a ignition source. That said I understand now there are direct injection gasoline engine, and I have not studied them yet.
A gasoline engine always has the air throttled and therefore is controlled on how much air/fuel mixture is allowed to enter the intake manifold and the cylinder.
Early farm tractors running "tractor fuel" (kerosene or distillates) had compression ratios down around 5 to 1, as gasoline became cheaper and more available compression ratios rose to 7 or 8 to 1.usually I have not found one above 8 to 1. Many of these low compression tractor could be "updated" to burn gasoline by replacing the pistons and intake/exhaust manifold. And then under extreme load preignition could be a problem. Even at these low ratios some attempted to use water injection to control preignition. Back in the muscle car era the higher compression of 12 1/2 to 1 was about the highest that could be safely run with Sunoco 260 the highest octane available on the street.
Gasoline start Diesel engines.
Early development of the Diesel engines found current electric starters did not have enough oomph to start them. Caterpillar used a hand started gasoline engine to start the Diesel. John Deere used a two cylinder engine on their first Diesel model R, For the next model 80 and later 2 cylinder Diesels they used a gasoline V4 until electrics caught up in about 1958, even then a compression release was still needed. IH on the MD used a 4 cylinder Gasoline/Diesel engine. (One side gas, the other Diesel)Pulling a lever opened a chamber in the head that lowered compression and exposed spark plugs. The engine then could be started on gasoline, after it warmed up the lever was pushed front and the engine was running on Diesel.
Diesel
Most Diesel engines run on an unrestricted air supply, Yes I have seen some with a throttle plate in tha air intake manifold (BMC Diesel in a Nuffield tractor)
Early Diesels used a energy cell or often referred to as a precombustion chamber. This help in many ways as it was easier on parts, and had less "Diesel knock", made it easier to build current production gas engine with a few modification to Diesel. Most early designs used an injector on one side of the head and the precombustion chamber on the opposite side, so the injection "shot" the fuel over the piston and into the cell (Oliver and MM), while some injected fuel directly into the cell (IH). The disadvantage was they were usually harder starting and required a starting aid when cold. Even some needed glow plugs after just being shut off!! (IH 282 in 560 and 706)
Direct injection eliminated a lot of issues, was more efficient, easier to cold start, but rattled more. They were also built heavier. The injector shot the fuel into a combustion chamber made in the piston. Even then some were very quiet as for Diesel noise (MM 585 in G1355 and White 2-150)
Diesel Fuel Injection
Not familiar with early fuel injection or new electronic fuel injection
Most early farm tractors used a rotary or inline injection pump. The rotary (CAV, Roosa Master, some Bosch) used a cam the "pushed" rollers together to generate the pressure required to pop the injectors, some had a timing advance built in and some did not advance.
Inline pumps used a row of piston/cylinder assemblies the ran off a camshaft to generate the high pressure.
All were governor controlled and varied the amount of fuel injected.
Cummins using the PT systems used the engine camshaft to operate the injectors and the amount of injection was controlled by the pressure in the fuel manifold.
I know Detroit was similar and used the camshaft but am not familiar with the control.
Modern electronics can vary timing, amount of fuel and even have multiple injections. Great for all around performance until the computer dies. That explains why they a so quiet and can produce so much power while reducing pollution.