It will depend on the platform, I know of a couple that use the "PLC" code (regardless of ladder STL or FBD) actually use an interpreter, the code you write is converted into a hex number, the interpreter uses that to run the program in it's native Machine code, a little bit like basic was some years ago.
I know that because I worked with a guy who did some for a well known manufacturer, I will not name them as it was something I should not have known about, the idea was that rather than compile it into an exe for on-line modifications it certainly gave an edge for large changes.
Again, regardless if it is compiled to run directly or interpreted, the code produced in LAD,STL,ST or FBD will produce roughly the same code in this case.
A good example of this is S7 classic, when you configure a rung say compare two values for greater than, the conversion to STL shows conditional jump that you do not see in Ladder.