The messaging back-end is probably completely decoupled from the stuff running other components of the site. I would imagine everything interfaces with each other, and as long as you don't break the interface, things could be changed pretty orthogonally.
Indeed. They have quite a toolchain and a wide variety of libraries. While a change in the javascript framework or PHP compiler affects everything, it isn't dependent on everything.
How could that even be possible?