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

Hacker News by 1 min read 37x views
Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

Share Post

Shows the gathering 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 ocular mode, or :'<,'>Asm: selected lines
  • In the window: +/- alter -O level, R reruns, q closes

Needs cc/c++ or rustc/cargo on PATH. Uses compile_commands.json if it finds one.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads