Re:Source code to infocom's text adventure engines released ...
by cmrdporcupine on Saturday November 18, 2023 @10:26PM
(#38328413)
Assembler isn't hard to write.
It's just bloody hard to read, unless you wrote it, and wrote it recently. You effectively have to have the state of the register set in your mind the whole time.
Lots of C code from back then is just as impenetrable though. It has structure but it's terse and mechanical. Everyone rolling their own lists and hash tables and string functions in every program, lots of unrolled loops, etc. Different constraints. Memory & CPU was expensive.
Re:Source code to infocom's text adventure engines released ...
by pjmlp on Sunday November 19, 2023 @04:56AM
(#38331042)
You can start by learning JVM bytecodes [0], and play around with Jasmine[1].
Even today many cool performance tricks require understanding the bytecodes of the underlying language runtimes.
Re:Source code to infocom's text adventure engines released ...
by poutinepapi on Sunday November 19, 2023 @06:25AM
(#38331606)
Ahhh mate cheers! I had never seen Jasmin, I'll definitely take a look.
The last time I saw assembler was in a bloody history class :P
Mind you, old school game developers were absolute gangsters and gave 0 shits about anything except things working and that's what I appreciates about them.