Shared libraries could also give speed improvements. For example, the main overhead of running a simple Perl script is loading the interpreter binary from disc, but if most of the interpreter was implemented as a shared library then the library could be cached in memory after the first load and then subseqent loads would be a lot faster.