assembly.ynh.io

Dev tools

assembly visualizer

SHOW HN2012

149points
44comments
#128of 1,677 in 2012
Top 8%of 2012 by points

How HN took it

MixedNo clear lean

5 positive, 9 neutral or asking, 2 mixed, 11 critical, out of 27 comments about the project. Thread score -0.12.

Execution: 0 for, 5 againstPrivacy: 0 for, 4 againstIdea: 4 for, 0 againstDesign: 1 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful educational tool for learning C and assembly

    From 3 comments
    • This could be a great educational tool! It could be used to teach Introductory Computer Organization at the college level. I have a suggestion: - Would you be able to separate…
      winter_blue on HN
    • Definitely interesting! Lots of us unix people would just run objdump -d for a quick ASM extraction, but this is probably much friendlier to the user just starting to learn…
      unix-dude on HN
    • excellent -- my unsolicited advice is for you to ping some professors and TAs who teach low-level programming to get them interested in using this in their teaching.
      pgbovine on HN
  • Saves time versus opening a debugger to inspect assembly

    From 1 comment
    • This really removes any hurdle I might have of inspecting the assembly code due to sheer laziness of opening up my Visual Studio and start debugging. Awesome work. If you add…
      vvnraman on HN

Objections

  • Security risk from running compiler on server; can read system files

    From 2 comments
    • You don't filter out CPP macro's. I would skip that and only allow C code. Or run this thing in a proper jail because at the moment: - doing an include #include "/dev/random"…
      wutwot on HN
    • This is part of your /etc/shadow file: ``` root:censored ``` We can still read /etc/ssh/ssh_host_rsa_key, etc. Edit: removed hash, sorry
      dzorz on HN
  • Breaks on errors and some browsers like iPad

    From 2 comments
    • Silently fails if you make a syntax error. I accidentally pasted this without newlines and at first I thought it wasn't responding: ``` #include <stdio.h>int main() {…
      jrajav on HN
    • Try this on iPad. Generated assembly looks very bad in terms of layout.
      alpb on HN

Requests

  • Explanations of assembly instructions and sections

    From 2 comments
    • Nice project. Will be more useful if there is an explanation of code generated. For example, making the various assembly instructions clickable and displaying information about…
      option_greek on HN
    • I could have made the same comment. Good project, could be useful to me. A peace of asm documentation would be tasty.
      Ubiquite on HN
  • Side-by-side layout and left/right toggle

    From 2 comments
    • Side by side would be a better layout like: http://gcc.godbolt.org/
      berkut on HN
    • I love it! My only suggestion right now is to have it so you can have the assembly on the left or right side. Maybe it's just me, but my focus seems to be on the left side more…
      b3b0p on HN
  • Intel syntax option

    From 1 comment
    • Can i recommend adding -masm=intel to your gcc flags? I know AT&T syntax is the default for gcc and gas, but not why. Intel syntax seems clearer to read and is used by most…
      mappu on HN
  • Compiler flags field

    From 1 comment
    • Very neat! Suggestion: add a 'flags' field where you can specify stuff like -std=c99 and any other flags you might need for your code to compile, and a horizontal rule or…
      tisme on HN

Questions

  • Where does string content go in the output?

    From 1 comment
    • In the hello world example, no matter what text you put there, the assembly is the same. Where does the string content go?
      Aardwolf on HN
  • Is there a beginner's guide to the output?

    From 1 comment
    • Does anyone have a link to a good beginner's guide explaining the output?
      akavi on HN

Alternatives named

  • LLVM demo

    From 1 comment
    • LLVM has a similar page: http://llvm.org/demo you can compile C/C++ to LLVM IR and also 32 or 64 bit intel assembler. you can also see the effects of different optimizations, etc
      munin on HN
  • gcc.godbolt.org Compiler Explorer

    From 1 comment
    • Side by side would be a better layout like: http://gcc.godbolt.org/
      berkut on HN
  • objdump -d

    From 1 comment
    • Definitely interesting! Lots of us unix people would just run objdump -d for a quick ASM extraction, but this is probably much friendlier to the user just starting to learn…
      unix-dude on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/4560410)