Live data from Hacker News

When teaching computer architecture, why are universities using obscure CPUs?

academia.stackexchange.com

31–40 of 117 posts

Re: When teaching computer architecture, why are universities using obscure CPUs?

#31
Because my professor hated the x86 architecture. At least I appreciated the honesty.

We looked at some popular RISC and CISC architectures, even looked at Itanium [1] as it was the hot new thing at the time. The professor didn't necessarily hate Intel, just the x86 architecture.

[1] https://en.wikipedia.org/wiki/Itanium

Re: When teaching computer architecture, why are universities using obscure CPUs?

#32

IP issues. As I understand it, Harris and Harris changed their textbook from ARM to RISC-V because of IP issues and ARM's lawyers. The MIPS architecture was also sabotaged by IP issues. As a result, architecture students are learning how to use and implement RISC-V. Thanks ARM.

Really?! You'd think ARM would do backflips to get the curriculum to include their architecture.

Re: When teaching computer architecture, why are universities using obscure CPUs?

#33
The culmination of my commmunity college's CS103 class was learning the ins and outs of an ISA called MARIE. only 8 instructions & an editor+simulator written as a java app.

I had a lot of fun spending most of my time in that class writing an entire development stack for that architecture: assembler, simulator, debugger, and eventually a very barebones forth!

Re: When teaching computer architecture, why are universities using obscure CPUs?

#34

IIRC, I learned computer architecture with a mythical 13 instruction set ISA. The class started with the basics of using flip flops to build registers and memory, program counters, etc. We had to demonstrate the state of every register at a given line in assembly. We had to write our own assembly. Then we learned C and how to translate it into assembly. The dots were connected from logic gates to to a high level stac…

That was basically what we did at my school. I have fond memories of writing an assembler in Perl to do the machine code assignment so I wouldn't have to calculate the jumps by hand

https://www.arl.wustl.edu/~jon.turner/cse/260/lec/washu2-1.p...

Re: When teaching computer architecture, why are universities using obscure CPUs?

#35
Some architectures are better for pedagogy (learning) while still covering the important concepts. RISC-V or MIPS fit this well. RISC-V is also not patent encumbered so anyone can freely use it.

Some platforms are not great pedagogically, but are taught because they are used in industry, like x86.

ARM manages to be ok at both.

I don't see a point in learning with other architectures.

Re: When teaching computer architecture, why are universities using obscure CPUs?

#36

IP issues. As I understand it, Harris and Harris changed their textbook from ARM to RISC-V because of IP issues and ARM's lawyers. The MIPS architecture was also sabotaged by IP issues. As a result, architecture students are learning how to use and implement RISC-V. Thanks ARM.

It's amazing how a lot of companies just forget how they got so big. If people can learn for cheap or at least very cheaply with your stuff, then they are going to use it when making money.

Restricting teaching with it or charging students the high corporate fees are just going to backfire in the long run. People will learn with whatever is cheap or free .

Davinci Resolve is getting more popular, because it's "free" and Adobe is a buggy piece of shit. Blender got popular, because learning at home, with any other software was way too expensive.

Re: When teaching computer architecture, why are universities using obscure CPUs?

#37

IP issues. As I understand it, Harris and Harris changed their textbook from ARM to RISC-V because of IP issues and ARM's lawyers. The MIPS architecture was also sabotaged by IP issues. As a result, architecture students are learning how to use and implement RISC-V. Thanks ARM.

Really?! You'd think ARM would do backflips to get the curriculum to include their architecture.

They seem to be improving and do have an "ARM Education Core", but RISC-V has academic momentum at this point.

Re: When teaching computer architecture, why are universities using obscure CPUs?

#39
post #10
post #3

Much as I also have never understood universities teaching to "teaching" architectures (DLX), or "teaching" languages (Eiffel - luckily removed from our curriculum before I started), at the same time I did not land a job based on having learned "practical" architectures 68k or MIPS either.

Hey I learned Eiffel. It's a nice language. I wish we had pre-conditions and post-conditions in modern procedural language.

We do - Ada!

Re: When teaching computer architecture, why are universities using obscure CPUs?

#40
I think in my days one part of course was some imaginary set and one actual course was MIPS.

Still, picking something simple makes lot of sense as pedagogical tool. x86 is outright mess and ARM is probably going to that direction on long term as well. So something more locked down and fully explainable is the better choice. If students want to do assembly they then can pick what they need.

Post reply on HN