Notch succeeded in creating an absolute clusterfuck of an ISA in his new game
fail0verflow.com
fail0verflow.com
The headline here, incidentally, is a little inflammatory and doesn't reflect the article's polite and technical tone. That's unfortunate, because the article itself is worthy of a read.
Who says that all new architectures must be easy targets of C? Perhaps this is part of the fun.
I am convinced that alternatives to C will produce much more compact programs.
I am enjoying the rash of assemblers, compilers, emulators that this architecture has generated. It is tickling an key aspect of hacking that has been underrepresented here on HN.
The 16bit-ness seems hardly a problem.
The overflow thing seems a hassle.
Forth cries out.
Lets remember what this CPU will be used for - it'll be a way for the programmers to optimise their space-ships, and everyone else will have to cut-n-paste the scripts they find out there.
So someone port factor...
It is interesting to read this guys rant though, he has used PICs (he should also check out the 8051 or 8048 some time) so clearly he knows that an instruction set architecture (ISA) can be successful even if it is hard to make a C compiler for it, not everything is a PDP-11.
The rant about bytes was particularly amusing, dealing with 'odd address' errors on the PDP-11 wasn't fun. But the DEC-10 architecture (36 bits) had a really interesting 'byte pointer' kind of thing where there was a way of iterating over 'strings.' (They also had SIXBIT a 6 bit encoding standard for text, go figure, and SKIPE which was in instruction that never skipped (thus a NOP)).