Brain F**k in 100 Seconds | Prime Reacts:
242,701
Published 2023-02-15
GO SUB!!
youtube.com/@fireship
Recorded live on twitch, GET IN
twitch.tv/ThePrimeagen
MY MAIN YT CHANNEL: Has well edited engineering videos
youtube.com/ThePrimeagen
Discord
discord.gg/ThePrimeagen
All Comments (21)
-
THE GOAT HIMSELF: youtube.com/@fireship GO SUB TO HIM
-
If he's impressed by the 107 byte compiler, someone wrote a Brainfuck interpreter in Brainfuck.
-
Brainfuck is an example of a "Turing tarpit" language, where "everything is possible but nothing of interest is easy".
-
Your main channel will always be my favorite, but seeing your disbelief and wonder (i.e. at the recursive main) is contagious and hilarious.
-
the syscall is for I/O where !b will be evaluated to an int from a bool so it will call 3 or 4 which corresponds to read and write, respectively.
-
Assembly was the first language I've learned. Then I started experimenting with C. I thought functions were just like labels in Assembly, and I used a recursive main in one of my beginner C codes. My teacher told me "just don't do that".
-
Back in college I had come up with a project related to compilers, so I submitted a transpiler that translates Brainfuck to functioning C code. The whole class was impressed, but really it takes one to know how Brainfuck theoretically works to know how easy it really is. 😂
-
Anything more is just unnecessary bloat. Variables are crutches.
-
You can almost feel it moving a mechanical something inside your machine with every character. I bet i could hear it with a stethoscope on an HDD.
-
as turing intended lolol
-
ChatGPT programmed a recursive main in C and I was like "Waaaaa?!?"
-
4:33 quick brown fox jumps over the lazy dog
-
Saw on stream. Still watching since its so funny how mind blown you are ;)
-
Watching you get your mind blown as you read the code of a language named "brain f***" is HILARIOUS 😂
-
Love your vides, always fun to watch. This was interesting for sure. BFJS sounds like a fun project for a live stream ;)
-
Gotta love how Brainfuck is Turing complete, so you can technically build anything with it
-
ngl, the first time I saw a recursive main, my reaction wasn't any different than prime's; it's a powerful code obfuscation tactic
-
I moved from too complex to simple: Rust -> Zig -> Brain F**k
-
You, my friend, are a extra special kind of special. Appreciate you so much =D:face-orange-raised-eyebrow:
-
brainfuck is basically a slightly modified Turing machine. it's a good intro into computability and formal language theory