pub fn set_io_writer<S: HasComponent<Component>, I: Write + 'static>(
    vm: &mut VM<S>,
    writer: I
)