I think it started off because they needed more speed than the higher level languages like ruby and python could give them (at the time), but couldn't justify writing in a low-ish level like C/C++. I suppose they might have landed on something like Pascal or Fortran, maybe even a lisp, if they'd hired a different developer who had to make the search.