125 points · by Katydid · 10y ago · 104 comments
Love it.
Could it get better than that?
We're ready for the revolution!
To all you naysayers: we'll see who gets the last laugh 10 years from now..
Then you'll modify it to be, "Have you heard of anyone running BrainFuck in production other than Nick P's BrainFuck-as-a-Service platform of questionable longevity?
Seems legitimate to me. Seriously, why not explore the extremes? Thats where we often learn the most.
I suspect many here think this is a joke, but although does have it's funny side this definitely warrants the research IMHO
Surely, phrases such as "We observed the following Instructions per Second (IPC)" and "assuming a perfect 1 instruction per second on the general purpose processor" should have activated some neurons in some brain, even assuming it got distorted by doing this research?
Anyways, can we have a version of TIS-100 where you write brainfuck with added message sending primitives instead of the TIS-100 asm? Of course, each BF interpreter would be working with only, say, 2 or 3 cells of RAM.
I want to see either that, or a TIS-100 asm compiler for GreenArray chips. Or both.
Moore and your GreenArray chips: be afraid! Something even more incomprehensible is coming after your market share!
In some makeshift syntax and with one instruction too much, I got:
>, < = inc, dec al
+, - = inc, dec [al]
. = out output_port, [al]
, = in [al], input_port
[ = Label: cmp [al], #0
jnz (Labelend + sizeof (jmp instruction))
] = Labelend: jmp Label
The labels are generated by the assembler. The ports would have to be directly soldered to some I/O peripherie, but alternatively the input and output could be memory mapped and fed by interrupts, as well.I therefore suspect a 3-bit encoding would be more in the spirit of BrainFuck. :)
Fun fact: systemd now has an entire command devoted to setting locale, something tyically done through simple text files.
Lennart, just stop writing executables that do almost nothing. Despite what you may thing, we don't all have infinite disk space.
Not much, you could fit a thousand copies of this in 336 MB.
[RSSB] https://esolangs.org/wiki/RSSB
[Calfee] https://github.com/nospamcalfee/RSSB
Reading through it, you can tell the author had written it with a knowing smile
(I followed up an interview with a link to a brainfuck interpreter I did in Haskell https://github.com/serprex/bfhs I got a 2nd interview, but no offer)