# \#golang

**URL:** https://pluralist.net/tag/golang/58.md

[Latest](https://pluralist.net/latest.md) · [Categories](https://pluralist.net/categories.md) · [Tags](https://pluralist.net/tags.md)

---

## [Golang defer in ASM (2025-09-02)](https://pluralist.net/t/golang-defer-in-asm-2025-09-02/313)

<div class="topic-metadata">

**Author:** [@delyan](https://pluralist.net/u/delyan)\
**Replies:** 0\
**Last updated:** [September 2, 2025, 5:22am UTC](https://pluralist.net/t/golang-defer-in-asm-2025-09-02/313 "2025-09-02T05:22:01Z")

</div>

This is the beginning of an exploration of what Golang’s defer keyword does to the final ASM produced by our Go compiler. We are using Godbolt.org for this. Without defer: package p import "fmt" func square(x int) i…
