Live data from Hacker News

BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

brainfuck.zptr.cc

21–28 of 28 posts

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#21
Okay, let's actually talk about the facilities provided by the project instead of Brainfuck in general, shall we?

First of all, the sound channels: 10/20/30/.../310/320 Hz? What? 10 and 20 Hz are inaudible frequencies, and A of the first octave 440 Hz which you can't play.

As for the actual output mechanism:

    The output instruction (.) increments the output pointer. If the output pointer is divisible by 33, it changes the delay of a sound channel to the value at the current memory cell. Otherwise, it changes a pixel on the screen to the value at the current memory cell.
What is an "output pointer"? The delay of which sound channel, exactly, is changed? And similarly, which pixel on the screen, exactly, is changed? What about decrementing the output pointer?

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#22

Earlier quoted context omitted.

thanks, will check it out.

Nobody notices unless you have some sort of security event, at which point it's ten times as bad. If you're confident that won't happen, sure...

sure, but on the other hand one time when this project I'm on was just starting out I put a link on our teams channel to one of the netlify deployment builds for a PR I wanted a tester to test and I got an urgent message demanding I explain why I was sharing dangerous links over teams trying to infect my coworkers.

So there's only so safe one can reasonably stay.

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#23
post #11

Earlier quoted context omitted.

Counterpoint: why not?

They could have spent the time doing something good for humanity, like making their bed.

But they did do something good for humanity, create something that gave me two seconds of joy. Depression makes it hard for me to enjoy.

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#24
See also “Brainfuck Enterprise Solutions” on GitHub, who have a whole suite of Enterprise Ready solutions written in Brainfuck, such as an OS (https://github.com/bf-enterprise-solutions/os.bf), IDE-plus-text editor (https://github.com/bf-enterprise-solutions/ed.bf), BF interpreter in BF (https://github.com/bf-enterprise-solutions/meta.bf), etc.

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#25

I just had to enter a complain to the Cisco security umbrella that my work uses - "I am getting tired of the high quality security checks that uses scary words in the url as a metric..."

"Brain" is probably terrifying to a brainless IT department, yes

Re: BF-SYS: A fantasy computer that uses Brainfuck as its instruction set

#26
post #20

Do I understand correctly that each frame one is to call the output/“.” command 33 (number of pixels) times, 32 (number of pixels) times for audio, and (number of pixels) for drawing to the screen? Hm, and, the way to do this.. would it be to, before a part where you actually output the output, you first store what you intend to output in region of the tape, and then go through that part to make the output? Also, wha…

This appears not entirely different to modern pixel shaders on GPUs, which basically run a program for every pixel on the screen. Quite efficient if you have large amounts of concurrent execution units. See https://www.shadertoy.com/view/MdXSWn .
Post reply on HN