Technology1 min read

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

By · Published by Everything Blog

In short

The tool allows users to inspect compiled output for the function directly under their cursor via a shortcut, or evaluate manual selections made in visual mode. Developers can interact with the floating interface to modify optimization levels and trigger recompilations on the fly. To function, it depends on standard compilers like cc, c++, or rustc and cargo being available on the system PATH. The extension can also automatically detect and read project configuration from a compile_commands.json file.

Key points

  • Programmers can trigger assembly inspections using normal mode cursor shortcuts, visual m…: Programmers can trigger assembly inspections using normal mode cursor shortcuts, visual mode selections, or editor commands.
  • Local system compilers including cc, c++, or rustc and cargo must reside on the user's PA…: Local system compilers including cc, c++, or rustc and cargo must reside on the user's PATH to function.
  • The utility eliminates the need to rely on external web services to view immediate compil…: The utility eliminates the need to rely on external web services to view immediate compiler output.

Sources checked by our analysis pipeline: 1

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

2026-10-09.14-16-45.mp4

lazy.nvim:

{

"0xdeadf1sh/AssemblyForNeovim",

config = function()

require("asm").setup()

end,

}

<leader>a

in normal mode: function under the cursor<leader>a

in visual mode, or:'<,'>Asm

: selected lines- In the window:

+

/-

change-O

level,R

reruns,q

closes

Needs cc

/c++

or rustc

/cargo

on PATH

. Uses compile_commands.json

if it finds one.

Technology