Hacker News new | past | comments | ask | show | jobs | submit login

If you want to know about how to build a simple computer, computer architecture, assembly language, assemblers, linkers, compilers, java, c, c++, how compilers are built, how compilers generate assembly language, how machine code are executed by the processor, how to implement a grep with regular expressions and much more. If you want to learn them fast, look for the books of this author[0]. I'm not affiliated with him. I learned many stuffs from his text books so I just like to share and recommend.

[0] - http://www.cs.newpaltz.edu/~dosreist/





> Writing Interpreters and Compilers for the Raspberry Pi Using Python, CreateSpace Independent Publishing Platform, 2018

> If you want to learn how to write interpreters and compilers, and at the same time learn how Python, Python bytecode, assembly language, and dynamic typing work, this is the book for you. The only prerequisites are some experience with any programming language and a computer on which you can install Python 3 (or Python 2 if you prefer). A Raspberry Pi is not required. Included in the software package for the book is an interpreter that allows you to run ARM/Raspberry Pi assembly language programs on your Windows, Linux, or Mac OS X systems.

> If you have not yet learned Python or assembly language, so much the better. You will get the added bonus of learning Python and assembly language while you learn all about interpreters and compilers.

That sounds like a pretty sweet mix of skills to learn all at once, actually!


Which one of his books covers how to build a computer, and is nand2tetris better?


Assembly Language and Computer Architecture Using C++ and Java , Course Technology, 2004

I can't say which is better. Nand2tetris has different approach.


Thanks. I might have to check it out after I finally finish Petzold's CODE.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: