This preview shows page 1. Sign up to view the full content.
Unformatted text preview: g, without having to linked the applications against those libraries at compile time. Dynamic linking is a powerful and useful technique. For example, developers of Microsoft Windows applications frequently use shared libraries to distribute software updates. They generate a new copy of a shared library, which users can then download and use a replacement for the current version. The next time they run their application, it will automatically link and load the new shared library. Another example: the servers at many Web sites generate a great deal of dynamic content such as personalized Web pages, account balances, and banner ads. The earliest Web servers generated dynamic content by using fork and execve to create a child process and run a “CGI program” in the context of the child. However, modern Web servers generate dynamic content using a more efﬁcient and sophisticated approach based on dynamic linking. The idea is to package each function that generates dynamic content in a shared library. When a request arrives from a Web browser, the s...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American