A square root routine should probably not be banished to its own domain for there is little vulnerability in the conventional scheme and the cost would likely double or more. A print facility like C’s printf is complex enough to benefit however. Note that printf assumes the ambient authority to a Unix file with descriptor 1. A program adapted to Keykos with calls to printf would include a Keykos specific preamble that creates a new object and capability to serve as a suitable recipient of arguments to printf, as passed by value. The new object would include its own copy of the authority to write the underlying byte stream.

By contrast fprintf deposits its output in the user’s space and a shared library version might be strategic.