# Does std.process.Init.environ\_map allocate memory or not?

**URL:** <https://ziggit.dev/t/does-std-process-init-environ-map-allocate-memory-or-not/15202>\
**Category:** Explain\
**Tags:** memory-management, standard-library, zig-0-16\
**Created:** [April 27, 2026, 3:56pm UTC](https://ziggit.dev/t/does-std-process-init-environ-map-allocate-memory-or-not/15202 "2026-04-27T15:56:12Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![asibahi](https://ziggit.dev/user_avatar/ziggit.dev/asibahi/32/5416_2.png) [@asibahi](https://ziggit.dev/u/asibahi)\
**Post date:** [April 30, 2026, 8:13am UTC](https://ziggit.dev/t/does-std-process-init-environ-map-allocate-memory-or-not/15202/21 "2026-04-30T08:13:28Z")

</div>

The whole point of juicy main is that you don’t have to initialize an allocator and a IO for your program.

Function calls are not hidden control flow. They’re function calls.

---

<div class="post-metadata">

**Author:** ![pachde](https://ziggit.dev/user_avatar/ziggit.dev/pachde/32/2485_2.png) [@pachde](https://ziggit.dev/u/pachde)\
**Post date:** [April 30, 2026, 5:59pm UTC](https://ziggit.dev/t/does-std-process-init-environ-map-allocate-memory-or-not/15202/22 "2026-04-30T17:59:03Z")

</div>

… and `main` is just another function, called by an OS-specific entry point.

[Previous page](https://ziggit.dev/t/does-std-process-init-environ-map-allocate-memory-or-not/15202.md?page=1)
