HACKER Q&A
📣 Takizawamura

How to learn Assembly Language and C to better understand Python?


I have some functional knowledge of Python. Now I would like to study Assembly Language and C to better understand Python. Part of this is simply driven by curiosity. Does anyone have any tips or recommendations for the journey?


  👤 spoiler Accepted Answer ✓
I personally doubt you'll get anything out of this route, but maybe I'm not seeing a line of reasoning that led to this.

On a more helpful note, I'd check out a few books (try https://hackernewsbooks.com) and then pick a subject/domain you find interesting and create a small project to use as a learning medium.

Also, to tinker with assembly you could start with simple but interactive processor and assembly simulators/emulators; there are a few web ones floating around like https://schweigi.github.io/assembler-simulator/ or https://kobzol.github.io/davis/ but there are also more graphical ones too. Later you can maybe move to more serious virtualization software like qemu


👤 stop50
I wouldn't start with assembler, the difference is too far. i would move from the ffi to binary modules.

im currently with go and am trying to get my head around rust. Personally i like rust more than c, because it helps with preventing bugs in the syntax itself.