Hacker News new | ask | show | jobs
by plnewman 4703 days ago
I'm not sure if I define CS that narrowly, but anyway I was working with the C compiler, not the asm code. It was a good learning tool for me because of the simple output and the slow processor, which meant that I didn't need to worry much about the graphics and that poorly performing code was immediately, painfully noticeable. There were plenty of data structures to work with sprites, characters, screens, etc.

My CS course (in the late 90s) kind of went the other way. One of the earliest courses was one that taught how a cpu operates -- what a register is, what the accumulator is, etc. There was no actually programming, just working through the steps of what the computer does to perform a given operation. After that there were a number of directions to go in.

1 comments

Aw right, I missed the C compiler point.

> I'm not sure if I define CS that narrowly

I mostly wanted to bold the data structure manipulation, something you wouldn't see when manipulating directly the assembly code.

You'll manipulate data structures in assembly if you need to. Graphing algorithms are everywhere; and, they require some sort of data structure.

You would be amazed what crazy and complex things were written to create some of the older games you know and enjoy.