Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For practice and user-mode stuffs https://godbolt.org/ is a valueless tool to help you view the output of any C program. Simply write any C program on the left, and add "-O1" in flag inputs. Assembly with color representing line-mappings would appear on the right.


> valueless

You mean "invaluable" here (cannot be given a value, as it's too important). "valueless" is the opposite (worthless)! https://en.wiktionary.org/wiki/valueless


Thanks. I had to read the original sentence multiple times; for a moment I thought I was having a stroke.


It's worth noting that the same thing can be had by doing objdump or stepping through code in gdb. Godbolt is very convenient though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: