It is quite possible to write to files, stdout, etc without using any heap memory. It can be achieved with the bare bones read&#x2F;write syscalls. I&#x27;m not sure I would consider this a &quot;best practice&quot;, but it&#x27;s worth noting. Boehm GC actively uses read when it needs to read files without allocating any heap memory.