# AssemblyForNeovim - Godbolt-style inline assembly viewer for Neovim

Original title: Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

> Hacker News story 50453229 · language: en · submitted 2026-11-11
> Web version: https://zeli.app/story/50453229
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 104 · by [0xdeadf1sh](<https://news.ycombinator.com/user?id=0xdeadf1sh>) · 💬 20
[original](<https://github.com/0xdeadf1sh/AssemblyForNeovim>) · [HN discussion](<https://news.ycombinator.com/item?id=50453229>)

## Summary

AssemblyForNeovim is a lightweight Lua script that brings Godbolt-style assembly inspection directly into Neovim. It displays the generated assembly for C, C++, and Rust code in a floating window, supporting x64 and aarch64 architectures. Press <leader>a on a function or selected lines to instantly see the compiled output, adjust optimization levels with +/-, rerun with R, and close with q. It works with cc, c++, rustc, or cargo on your PATH and respects compile_commands.json when available. Perfect for developers who want to understand compiler output without leaving their editor.

## Key quote

> Shows the assembly for C, C++ and Rust code in a floating window.

## HN discussion (20 comments)

### [waschl](<https://news.ycombinator.com/item?id=50456500>)

> +1 only because of the seemingly non-AI README. Such a joy to get the core info in one glimpse

### [evmar](<https://news.ycombinator.com/item?id=50454596>)

> https://github.com/pacak/cargo-show-asm is a nice helper for the Rust->asm part of this that has seen a decent amount of work for handling all the edge cases.  (I've contributed a bit to it to handle some Windows issues.)

### [bajard](<https://news.ycombinator.com/item?id=50454851>)

> Maybe I should say Compiler Explorer instead of Godbolt.
>
> This should be mandatory for any programming environment, along with a CPU emulator showing how data moves through the ALU, and all the ports, to which registers it goes to, and how everything works clock by clock.
>
> I hope AI makes this possible, at least for VS Code and C++.

---

## Cite

- Page: https://zeli.app/story/50453229
- Date: 2026-11-11
- Source: github.com (https://github.com/0xdeadf1sh/AssemblyForNeovim)
- Hacker News: https://news.ycombinator.com/item?id=50453229

## Other languages

- zh: https://zeli.app/zh/story/50453229 · markdown: https://zeli.app/zh/story/50453229.md
- ja: https://zeli.app/ja/story/50453229 · markdown: https://zeli.app/ja/story/50453229.md
- ko: https://zeli.app/ko/story/50453229 · markdown: https://zeli.app/ko/story/50453229.md
- de: https://zeli.app/de/story/50453229 · markdown: https://zeli.app/de/story/50453229.md
- es: https://zeli.app/es/story/50453229 · markdown: https://zeli.app/es/story/50453229.md
- ru: https://zeli.app/ru/story/50453229 · markdown: https://zeli.app/ru/story/50453229.md
