# Type-erased delayed string formatting

**URL:** <https://ziggit.dev/t/type-erased-delayed-string-formatting/13230>\
**Category:** Help\
**Tags:** standard-library\
**Created:** [November 26, 2025, 5:21pm UTC](https://ziggit.dev/t/type-erased-delayed-string-formatting/13230 "2025-11-26T17:21:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![andrewrk](https://ziggit.dev/user_avatar/ziggit.dev/andrewrk/32/7011_2.png) [@andrewrk](https://ziggit.dev/u/andrewrk)\
**Post date:** [November 26, 2025, 6:17pm UTC](https://ziggit.dev/t/type-erased-delayed-string-formatting/13230/3 "2025-11-26T18:17:55Z")

</div>

Another way to do it would be an alternative to `std.Io.Writer.print` that still has comptime format string, and still takes a tuple, but is `inline` and lowers to a call to a non-generic, type-erased function.

Since this has identical function signature, it might even make sense to offer this as an application configuration option in the standard library 🤔

---

_[View the full topic](https://ziggit.dev/t/type-erased-delayed-string-formatting/13230)._
