On Saturday, 6 December 2025 at 23:51:04 UTC, H. S. Teoh wrote:
write("something");
stdout.flush;
Of course, if this is debugging or such output which is orthogonal to the main code's output, stderr is a good choice, as it's unbuffered.
```d
import std.stdio : stdout;
stderr.write("Hello, world.");
```
(The output comes immediately with the call.)
