6 ms·
In the parents defense 'assembly' isn't one thing. Every assembler has a different syntax, as does every chip family. The parent might be a master of 6502 ASM.
by benj111 8y ago
In the parents defense 'assembly' isn't one thing. Every assembler has a different syntax, as does every chip family. The parent might be a master of 6502 ASM.
And as that XKCD comic says. Everyone has to learn even the most obvious thing for the first time at some point.
- m0skit0 8y agoHm... If you know one assembly you can easily recognize when it is assembly, even if you don't know the specific architecture.
- vanderZwan 8y agoNot if it is your first time seeing assembly.
- dpcx 8y agoDoesn't that then imply that you don't know assembly?
- vanderZwan 8y agoBlargh, I somehow read that as "if you don't know assembly" instead of "if you know one assembly".
- odn86 8y agoI'm the worst type of bootcamp web developer you can imagine. I only knew it was Assembly because i once looked at the apollo guidance computer's source code.
- hondadriver 8y agohttps://xkcd.com/1053/ https://xkcd.com/1053/
- klohto 8y agoThis applies to general public but someone with Freelance Web developer based in Amsterdam. Mostly Node and React. in their bio should probably know what Assembly is...
- codetrotter 8y agoWhy? Serious question. Nothing about that bio says “this person should know about the existence of assembly” to me. And besides, with their question they’ve made an effort to learn about it so I don’t see any reason to criticize them for not knowing. It’s like the xkcd referenced says, every day there are a bunch of people hearing about something for the first time. We should be happy that they hear about it!
- AnIdiotOnTheNet 8y agoReally? A programmer of any stripe who doesn't recognize assembly just seems like a very wrong thing. One wonders what their mental model of the computer is like.
- Skrillex 8y agoI imagine that most people abstract at the levels above and below assembly languages. E.g. they know about high level languages, and that a CPU cannot directly run that, but their view of the lower level probably does not include any human readable artifacts such as latin characters but rather binary and voltages.
- xiphias2 8y agoWe have web pages with multiple seconds of latency because devs don't have a deep understanding of the performance hits of composing programs. And for that you need to understand how the CPU works.
- owenmarshall 8y agoI do not believe that knowing ASM would even remotely translate into the ability to optimize web pages for latency: understanding high-level concepts like TLS, HTTP/HTTP2, and being to understand JS engines seems far more applicable. You also seem to be making the assertion that you cannot understand how a CPU works without knowing ASM, which seems equally spurious.
- Kurtz79 8y agoI admit my experience is limited, but there are few things that should immediately identify some code as assembly to someone with previous experience, regardless of the platform, such as the prevalence of the "mov" command, a "jump" command or the use of registers, using memory addresses as parameters, accssing stack using "push" and "pop" commands. Registers might have different names depending on the platform, actual command names may vary, but I would be surprised to see non-obscure platforms for which the pattern above is not valid.
- benj111 8y agoI suppose my gp wasn't very clear. Language in this context could be just ASM or it could be intel x86 DOS ASM. As I said, the gp could be a master of 6502 ASM, but not be able to tell the difference between ARM and X86.
- vlovich123 8y agoThe question is whether it's recognizable as assembly at all rather than which specific flavor. I think it's correct that all assembly flavors tend to look very similar to each & very dissimilar from any language.
- userbinator 8y agoThe syntax is different but the structure (or... lack thereof) is almost always the same (excluding the "edge cases" like highly-macroised code.) Asm looks like a step-by-step list of instructions, which is exactly what it is. Confusing Asm with early (GOTO-only) BASIC, on the other hand, would seem far more common to me.