Problem with that is that it is less efficient than a shared library but also susceptible to the same issue, namely that if you change the interface then things break.
Edit: It does of course get you extra functionality, like being usable over a network connection. Trade offs.