5 ms·
Better option: Computer Organization and Design by Patterson and Hennessy, ISBN 978-0124077263. Comes in MIPS (original version now in its 5th edition), ARM and
by zahllos 3y ago
Better option: Computer Organization and Design by Patterson and Hennessy, ISBN 978-0124077263. Comes in MIPS (original version now in its 5th edition), ARM and RISC-V focused flavors, covers "instructions unique to architecture X" as part of its discussion.
- hasheddan 3y agoI could not agree more with this recommendation. For folks who don't yet have this book but are interested, there is a set of online companion materials[0] that are freely available and contain a good bit of useful information. [0] https://www.elsevier.com/books-and-journals/book-companion/9780128203316 https://www.elsevier.com/books-and-journals/book-companion/9...
- deleted 3y ago[deleted]
- amelius 3y agoWaiting for the GPU covering version. (I do have an older version of the book though).
- sanderjd 3y agoI had no idea they did RISC-V and ARM versions! Very cool. This was the book for the "weed-out" class I took my first semester in college. Nearly failed that class, but it opened my eyes to so much more of computing, beyond just "coding".
- delta_p_delta_x 3y ago> Nearly failed that class I did fail it in university. Took it again and got an A-, and now love working with assembly and computer architecture.
- _madmax_ 3y agoThe struggle make your knowledge crystallize even better, on top of overcoming the failure. I almost wish anyone to fail one important class in university.
- reuben364 3y agoI deeply regret the courses I barely passed. And the courses for which I had prior knowledge to pass comfortably but not engage on the nuances.
- sanderjd 3y agoThat was me with a high performance scientific computing class.
- lostmsu 3y agoDoes anyone have an idea how bad is the ARM version? The reviews online say they did not fully adapt it from MIPS, and that the instruction set is partially made up instead of using the real one, which means listings won't work on real hardware.
- snvzz 3y ago>which means listings won't work on real hardware. They will. LEG is a subset of ARM. What won't work is ARM software on LEG hardware. I would recommend getting the current edition, which has replaced ARM/LEG with the industry standard RISC-V.
- lostmsu 3y agoDoes RISC-V version include GPU? I am more inclined for ARM version since that's applicable to both all current Apple hardware and school Chromebooks.
- snapcaster 3y agoGod this book fucking rules! Used this in school and was the only textbook I found myself just working through outside of class for my own personal enrichment and entertainment. Can't recommend it enough
- DontchaKnowit 3y agoAgreed. Appendix B of this book in and of itself is an incredible summary of how a computer works generally.
- andomizeazzz662 3y ago[dead]
- iwsk 3y agoOverall I enjoyed this book. However their opening paragraph to floating point numbers is offensive. "programming languages support numbers with fractions, which are called reals in mathematics. Here are some examples of reals: 3.14159265... (pi) 2.71828... (e)" >fractions are called reals in mathematics >immediately gives pi and e as an example
- _gabe_ 3y agoIsn’t this technically true though? Fractions are just rational reals. The examples listed are still reals, just irrational.
- vcxy 3y agoIt's bad pedagogy. But it is also technically incorrect. You can have fractions with complex numbers.
- _gabe_ 3y agoGood point! I’m not a mathematician so the pedagogy here doesn’t really irk me. But, I do also believe that teachers should be held to a higher standard, especially when writing out educational text. Thanks for the clarification! Also, I bet the authors weren’t intentionally trying to lead readers astray with that statement. Most books have a preface with some point of contact if you find errors. I’m sure if you wrote in the authors would be happy to fix this up :)
- gcr 3y agoi think i can see the nitpick here: pi and e aren't representable as rational numbers, and aren't representable exactly in IEEE754
- vcxy 3y agoI wouldn't say it's a nitpick. Rationals are fractions of integers, not just any fractions at all. Rationals are _examples_ of reals, but it's bad pedagogy to say "fractions, which are called reals" because it sounds like the authors are giving a definition of reals. While they technically did not say this was a definition, it is sloppy.
- avg_dev 3y agoI managed to get my hands on a really old version of this book (maybe 20 yrs old - no ARM I don't think). Do you think that is still good? Or should I just get the new one?
- tildedave 3y agoThis book is the reason I was able to pass my computer architecture exams in grad school. Just lugged the 800 page monstrosity around an entire semester and read it every chance I could. A really wonderful book ... I should get a recent copy and re-read it again.
- snvzz 3y ago>Comes in MIPS (original version now in its 5th edition), ARM and RISC-V focused flavors They're not flavors, they're editions. They have changed their ISA over time. The current edition uses RISC-V.
- deleted 3y ago[deleted]
- unethical_ban 3y agoThe description on the official site says the target is grad students. Is it fair to say that is not an introduction to the subject?
- zahllos 3y agoIt depends what you mean or want by way of introduction. Are you interested at all in how your CPU does what it does and why, or were you interested in the "learn x86, ARM and RISC-V" tag-line that was originally on the book title. Do you imagine you will read this book and be writing all your software in assembler straight after? That won't happen, most likely - if you want that and insist you do, I'd suggest the flatassembler forums. The COD book I recommended was recommended to me by an EE undergrad who took it on one of their courses, and I think it is suitable as an introduction to how computers actually work, with plenty of real-world examples and mentions of architecture features that indicate specific tradeoffs. Of course, whether that is suitable is really going to depend on the person reading it. The Packt book looks like it might be attempting to do the same thing - except I am slightly worried it likely digresses a bit into virtualization, self driving cars and quantum computers (based on the Packt TOC and github repo). I'm going to say this is scope creep - I don't know how deep it goes into virtualization, but personally I think understanding how x86 does virtualization is much less useful than understanding the wider problem of how to partition hardware. If it doesn't say LPAR somewhere in there or discuss mainframes, I'd be disappointed. Self-driving cars do not, in my opinion, belong in a book on how modern computers work, and I'm not sure the author's experiments with IBM's quantum computer cloud thingabob are really what I want out of such a book either. That said, I've not read the Packt book and I can't say anything about the earlier content. I have read the COD book - but I wish I'd come across it earlier than I did. Still, I got something out of it. Some graduate textbooks are highly specialized and for niche fields - my formal education is in mathematics and I can definitely say this about some graduate maths books - but this is not one of them. I think it is widely applicable to anyone who a) wants an introduction to how computers do their stuff or b) already broadly knows, but has some gaps and wants to fill them in.
- unethical_ban 3y ago