Posts

Showing posts from August, 2018

Comparing C to Machine Language

Image
This video nicely demonstrates something I've been curious about for 24 years now; how high level languages translate to assembly code. (even though I hate code that has opening braces on the same line as the code) Observations: 1. C and ASM are very similar structurally, which means C does not lose any power through abstraction. 2. C abstracts the grunt work of remembering addresses etc so one can focus on the actual algorithm, and is also better structured which greatly improves readability. 3. ASM is not really that hard and is in fact, structurally simpler than C; somewhat similar to the original BASIC (basica.exe).