Systems and methods for enhanced runtime hosting are described. In one
aspect the runtime hosting interface includes a host abstraction
interface. The HAI allowing the runtime to configure host execution
environment parameters and/or notify the host of a runtime event. In
particular, the host abstraction interface (HAI) corresponds to execution
environment abstractions supported by a host application. Responsive to
an action or event, the runtime invokes an identified HAI or an
associated object during execution of runtime managed code.