89 points by 0xdeadf1sh 7 hours ago
No internet connection needed. Uses a locally-installed compiler for assembly generation.
Comments are read-only. Visit Hacker News to participate in the discussion.
waschl 2 hours ago | 0 points
+1 only because of the seemingly non-AI README. Such a joy to get the core info in one glimpse
0xdeadf1sh 2 hours ago | 0 points
The whole reason this extension exists is to help me with my non-AI hobby projects like path tracer in C, and my C++ Vulkan renderer.<p>I don't think this extension is valuable for people who use agents to code.
evmar 5 hours ago | 0 points
<a href="https://github.com/pacak/cargo-show-asm" rel="nofollow">https://github.com/pacak/cargo-show-asm</a> 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 4 hours ago | 0 points
Maybe I should say Compiler Explorer instead of Godbolt.<p>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.<p>I hope AI makes this possible, at least for VS Code and C++.
rpqt 3 hours ago | 0 points
Yeah there is so much to do on the visualization side! I know people who still draw these things on paper and count cycles by hand.
0c3ca83 2 hours ago | 0 points
Paper is a medium of thought, and writing without a computer is still one of the best ways to slow down and organize your mind.<p>I still write code out on paper as I think through algorithms.
bee_rider 2 hours ago | 0 points
Modern cores are quite wide, I don’t know if my monitor is big enough to show this info for all the in-flight instructions…
bajard 10 minutes ago | 0 points
When I program, I imagine the registers and ports. Only the ones I use. I see the sequence of micro-ops moving like in a queue, the stack in a different column, and the L1 cache as neighboring lines. That could be drawn.<p>The parts not involved could be drawn in miniature, like the AVX2 hardware. More detail could be shown if the user clicks.<p>It probably isn't as complex to draw.
ivanjermakov 4 hours ago | 0 points
I usually want to see assembly during debugging, not development. For which rad debugger is a must (now on Linux!): <a href="https://github.com/EpicGames/raddebugger" rel="nofollow">https://github.com/EpicGames/raddebugger</a>
shmerl 5 hours ago | 0 points
That's interesting. There is also <a href="https://codeberg.org/Jorenar/nvim-dap-disasm" rel="nofollow">https://codeberg.org/Jorenar/nvim-dap-disasm</a> if you want to get it for actual compiled result + debugger.
FirstClassTree 2 hours ago | 0 points
genuinely asking, but isn't today the AI writing the code?
0xdeadf1sh 2 hours ago | 0 points
I've made this for my hobby projects where I still get to write the code manually. If you are using agentic coding then you don't need neovim to begin with.
FirstClassTree 2 hours ago | 0 points
I mean I'm not a nub I know C and has a degree in CS and stuff, worked at Microsoft
FirstClassTree 2 hours ago | 0 points
I also use VIM for my Obsidian note taking, which kind of replaces my code writing
swatcoder 2 hours ago | 0 points
Some of the code, some of the time, for some of the people.<p>Yet far from all of the code, all of the time, for all of the people.<p>People just like to talk it up, especially if they've been able to let it take over they're own coding. And some people work and chat in bubbles where they only know people working similarly to themselves.
0c3ca83 2 hours ago | 0 points
It's certainly making the business decisions, at least. It's incredible how many CEOs admit that their decisions came from asking ChatGPT.