4 ms·
I struggle to take such an article seriously when it cites Brainfuck as an example. A common use of Brainfuck isn't to write programs, but rather to prove that
by machinestops 2y ago
I struggle to take such an article seriously when it cites Brainfuck as an example. A common use of Brainfuck isn't to write programs, but rather to prove that it is possible to write programs. This isn't exactly comparable with small Lisps or Forth.
- rausr 2y agoI work in the same building as Urban Mueller (creator of BF). He told me the point of BF was to implement a compiler ;)
- InDubioProRubio 2y agoHe told me its there to import geometry from standard formats into marching cubes and then octrees.
- jhonsrid 2y agoYou can write a program that takes BF code as input and outputs valid C source that would execute it in less than 20 lines of well formatted ANSI C using nothing more than putchar, getchar, while, pointer inc/dec and dereference, so I can imagine a full compiler for it would be super simple too. (Though I bet an optimising compiler would be a _little_ more complicated) ;)