Reverse rotating engines (both gas and diesel) were common in the 60's, 70's and into the 80's. Common in Detroit two-strokes, Cummins v-blocks and some Perkins. The transmissions in that era (Allison, Capitol, Velvet drive) tended to have a dedicated fwd gear, and had a reverse gear but it was not as robust and not intended to handle full power for long periods.
Starting in the 80's, modern transmissions started becoming popular and these could handle full power in either direction and engines could both be std rotation. Pretty much anything in the 90's up the engines are all std rotation with counter rotation done in the gears.
How the rotation change was done on the engines varied a good bit. Detroits were designed from the start to be built in either rotation so nothing weird there. Some of the car based engines (gas) were never designed to be reverse rotation, and so there can be challenges there. Unique camshafts or cam drives, etc. Starters and pumps different.
Note that all modern engines used in trawler type boats are std rotation as is common in highway and industrial equipment. Rotate CW when looking at front of the engine from the front.