Live data from Hacker News

Modern Computer Architecture and Organization - Second Edition (2022)

packtpub.com

41–50 of 78 posts

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#41

Earlier quoted context omitted.

> 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.

The struggle make your knowledge crystallize even better, on top of overcoming the failure. I almost wish anyone to fail one important class in university.

I 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.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#42
post #7

I always find computer architecture a strange/tricky topic to cover in a tech book, its either too vague, or too specific, often forgetting about using the right tool for the job. From the index, this looks like the latter but if I get a chance I'll check it out. The only one I've found so far that hit the right notes for me personally was Software Architecture Patterns (9781098134273), Mark Richards. This topic list…

Software architecture and computer architecture are two completely different topics. They have very little overlap; the two disciplines only come together when writing compilers.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#43
post #35
post #34

Earlier quoted context omitted.

Isn’t this technically true though? Fractions are just rational reals. The examples listed are still reals, just irrational.

It's bad pedagogy. But it is also technically incorrect. You can have fractions with complex numbers.

Good 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 :)

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#44
post #10

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.

I 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".

Does 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.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#45
post #10

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.

>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.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#46
post #44

Earlier quoted context omitted.

I 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".

Does 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.

>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.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#47
post #33
post #10

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.

Overall 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

I agree it's bad phrasing, but isn't the only real error here using "with fractions" rather than "with fractional digits"? Perhaps this is an idiomatic difference between different English dialects, such as American vs British? I'm not sure. If you read fractions as meaning fractional digits, the inaccuracy goes away completely, I think.

I would also use "real number" instead of "real", but that may be more of a stylistic choice rather than idiomatic.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#48

If you're interested in ARM and hardware design, "Digital Design and Computer Architecture: ARM Edition" by Sarah Harris and David Harris is available in the ACM Digital Library as a free PDF: https://dl.acm.org/doi/book/10.5555/2815529

Note that the current edition of Harris and Harris has replaced the legacy ISA with RISC-V proper.

Re: Modern Computer Architecture and Organization - Second Edition (2022)

#50
post #34
post #33

Earlier quoted context omitted.

Overall 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

Isn’t this technically true though? Fractions are just rational reals. The examples listed are still reals, just irrational.

Fraction doesn't have to be rational.
Post reply on HN