30 ms·
I believe this class: https://www.cs.cmu.edu/~213/ https://www.cs.cmu.edu/~213/ With this textbook: https://csapp.cs.cmu.edu/ https://csapp.cs.cmu.edu/ Is the
by hayst4ck 4y ago
I believe this class: https://www.cs.cmu.edu/~213/ https://www.cs.cmu.edu/~213/
With this textbook: https://csapp.cs.cmu.edu/ https://csapp.cs.cmu.edu/
Is the gold standard of education for the question you are asking.
There is probably a class on compilers if you thirst for even more depth.
I suppose it's important to mention that your selection of python matters a lot because the language itself is very meaningful to the behavior you want to understand.
Can you explain what malloc is and why it is needed in C? Do you know what %rip is? If you understand those concepts, then the question you are asking is very different than the question you are asking if you don't.
If you understand those concepts you are asking: "How does python work?"
If you do not understand those concepts you are asking: "How does memory management work?"
- hayst4ck 4y agohttps://www.nand2tetris.org/ https://www.nand2tetris.org/ Might also interest you.
- noob_eng 4y agoThanks for the suggestion. Btw, which compiler class are you talking about?
- hayst4ck 4y agoI don't think any particular college has set the standard for compiler education. Maybe one of these: https://www.seas.upenn.edu/~cis3410/current/schedule.html https://www.seas.upenn.edu/~cis3410/current/schedule.html https://www.cs.princeton.edu/courses/archive/spring20/cos320/ https://www.cs.princeton.edu/courses/archive/spring20/cos320... https://online.stanford.edu/courses/soe-ycscs1-compilers https://online.stanford.edu/courses/soe-ycscs1-compilers I think the dragon book is well respected: https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniques,_and_Tools https://en.wikipedia.org/wiki/Compilers:_Principles,_Techniq... This one might be good too: https://www.elsevier.com/books/engineering-a-compiler/cooper/978-0-12-815412-0 https://www.elsevier.com/books/engineering-a-compiler/cooper... Reddit comparison: https://www.reddit.com/r/Compilers/comments/pjn25h/how_does_engineering_a_compiler_by_keith_cooper/ https://www.reddit.com/r/Compilers/comments/pjn25h/how_does_...