Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Toy

Name: Anonymous 2012-09-26 12:21

Best instruction set:
http://www.kernighan.com/toysim.html

Name: Anonymous 2012-09-26 13:07

kernighan
Pig disgusting.

Name: Anonymous 2012-09-26 13:15

>>2
K is the best K&R.

Name: Anonymous 2012-09-26 13:54

This version has a limit of 1000 instructions by default, to make it easier to prevent infinite loops.
lolwut

Name: Anonymous 2012-09-26 14:07

>>4
It obeys the contemporary principle of programmers can't be trusted.

Name: Anonymous 2012-09-26 14:41

loop
  load B
  print
  store A
  load C
  store B
  add A
  store C
  goto loop
A 0
B 0
C 1


This is kind of EXPERT! Don't see why Kernighan would write something like it, though. (The documentation on the site is almost fucking useless, too, I actually had to read the interpreter's code.)

Name: Anonymous 2012-09-26 14:57

>>6
It's described better in his new book, D is for Digital. He basically uses it as an example to teach ``ordinary'' people about instruction sets, thus making them wish they picked up a For Dummies book instead.

Name: Anonymous 2012-09-26 17:26

Is it Turing-complete?

Name: Anonymous 2012-09-26 17:34

>>8
Yes.

Name: Anonymous 2012-09-26 17:39

this kernighan guy is a real idiot. worshiped by unix and lunix morons.

Name: Anonymous 2012-09-26 18:24

>>10
he needs to go the way of the dmr already.

Name: Anonymous 2012-09-26 19:50

>>10
Yeah man, what's he even done for us?

Name: Anonymous 2012-09-26 20:35

>>12
nothing at all.

Name: Anonymous 2012-09-26 20:42

>>13
Exactly. If only he became a lawyer, accountant, a filmmaker or a banker instead of writing a useful language that remains useful for over 50 years. That was really nothing done for us. No sir, such effort didn't contribute anything.

Name: Anonymous 2012-09-26 20:43

>>14
he didn't create C you moron, he only helped write the book. fucking retard.

Name: Anonymous 2012-09-26 20:50

C is successful for the same reason that java is successful: the world is full of idiots.

Name: Anonymous 2012-09-26 20:52

>>16
u mena ``there was no better alternative''.

Name: Anonymous 2012-09-26 20:56

>>15
What confuses me about Kernighan's claim that he didn't contribute to C is that he co-authored The C Programming Language, which acted as the first ``standard''. How is that not contributing to C? Did he just do the typesetting or something?

Name: Anonymous 2012-09-26 21:47

>>18
he fixed typos

after long bouts of writing, dmr used him to ``release sexual energy''

Don't change these.
Name: Email:
Entire Thread Thread List