Facebook is able to scale horizontally because of the way web services work.
MtGox has to run the trading engine all on one server. Did you see that they released the specs of the two machines they're using?
Facebook literally has many tens of thousands of servers. Gox has like 2 and only one of them can be the actual trading engine.
Language and library speed is the top priority in this context.
-p