Hacker News new | ask | show | jobs
by bsenftner 427 days ago
I found part of my homework assignments, some printouts. I'd forgotten the big reveal at the end of the class. If all the homework assignments were done correctly, a makefile given out as the class ended, "a surprise gift", turned all the homework in a subset of a C compiler.

The class's TD was also very interesting. He was 13, a child prodigy in their CS PhD program. I remember when I learned his age, he told me not to tell anyone, it would impact their ability to learn from him.

1 comments

> C compiler

Nice. So were the HWs split along the usual lines of lexer, parser, codegen, etc? You said it was a surprise, so I wonder how else it was split to actually make it surprising. Or was it hard enough to judge the purpose of the assembly version that it didn't matter?

I remember we were not given names for the pieces and parts, just these paragraph or three descriptions of what the written code would receive and what it would output, and what CS fundamentals we should use in that assignment. A good portion of the class's difficulty was in these weird assignments with these really weird I/O requirements. It was explained that companies that work in assembly are often working on DoD contracts, and these were the nature of one's work assignments: obtuse I/O requirements with no idea what they plug into or are used for... clever indirection.