Many modern programs provide operating system-style services to extension modules. A Web server, for instance, behaves like
a simple OS kernel. It invokes programs that dynamically generate Web pages and manages their resource consumption. Most Web
servers, however, rely on conventional operating systems to provide these services. As a result, the solutions are inefficient,
and impose a serious overhead on the programmer of dynamic extensions.
In this paper, we show that a Web server implemented in a suitably extended high-level programming language overcomes all
these problems. First, building a server in such a language is straightforward. Second, the server delivers static content
at performance levels comparable to a conventional server. Third, the Web server delivers dynamic content at a much higher
rate than a conventional server, which is important because a significant portion of Web content is now dynamically generated.
Finally, the server provides programming mechanisms for the dynamic generation of Web content that are difficult to support
in a conventional server architecture.