BrainF*ck Programming Tutorial - Can You Code in BrainF*ck?

  Рет қаралды 58,752

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 203
@TechWithTim
@TechWithTim 4 жыл бұрын
Did it F*CK with your brain? Let me know ;)
@178fahimahmed7
@178fahimahmed7 4 жыл бұрын
Yah. It did 🥴🥴🥴
@Joshua-dl3ns
@Joshua-dl3ns 4 жыл бұрын
yes lmao
@Connected_Chronicles
@Connected_Chronicles 4 жыл бұрын
I saw this language before but never seen a tutorial on this. Tim your next challenge is Whitespace language
@bojakcates2817
@bojakcates2817 4 жыл бұрын
my brain is totally fucked.. thanks!
@smellymomo
@smellymomo 4 жыл бұрын
@@Connected_Chronicles is that a thing? Lmao
@kylogias2027
@kylogias2027 4 жыл бұрын
Tim: I'm gonna call it Brain because this is a Family-Friendly channel The Current Working Directory, and almost the entire description: no
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
Lool
@vikassanwal1818
@vikassanwal1818 3 жыл бұрын
@@ekrem_dincel 😂🤣😂🤣
@luka-j-ovanovic
@luka-j-ovanovic 4 жыл бұрын
Very well explained! I came across this language a month ago, but I never really understood the loops. Thanks to your video, I made my own compiler.
@DavidSuper13
@DavidSuper13 4 жыл бұрын
No one: Absolutly no one: Not a single soul: Tim: "brain f*ck tutorial"
@senatorpoopypants7182
@senatorpoopypants7182 4 жыл бұрын
I searched for this.
@codeout6512
@codeout6512 4 жыл бұрын
The current number of likes of that comment is perfect
@omaribrahim180
@omaribrahim180 3 жыл бұрын
@@codeout6512 lol
@omaribrahim180
@omaribrahim180 3 жыл бұрын
Uh 😐 whatevs
@Isopropyl_Alcohol
@Isopropyl_Alcohol 3 жыл бұрын
@@senatorpoopypants7182 same here bud
@sn0rlackss441
@sn0rlackss441 4 жыл бұрын
I saw you forked this in Github and was like "oh what's about to happen"
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
Jokes aside, this language is turing complete and you can do anything with it.
@stavros222
@stavros222 4 жыл бұрын
Yeah but this is SO HARD
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
@@stavros222 yes, but to make if statements. That would make it soooooooooo much easier.
@lev7509
@lev7509 3 жыл бұрын
@@sandpaperunderthetable6708 If statements become much easier when you notice the patterns. Again, BF is a Turing complete language, and a fragment of a large program is a smaller program. Thus, an If statement program can be isolated. From that point, you can make a template that has everything necessary except the "condition", "then" and "else". Possibly a "case" template as well. Then, just copy-paste it wherever you need and fill in the blanks! The same goes for... pretty much any other structure/complex operation.
@lev7509
@lev7509 3 жыл бұрын
​@@stavros222 conventions are helpful in any language, but Brain emphasizes it. Before getting too far in, make a convention for how data is managed, how does the prog iterate over data, etc. And stick to these conventions throughout. And of course, just because you can forget about indentation and spacing, doesn't mean you should.
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
@@lev7509 This is an equality statement. [-]+[[-][-]
@bryanjensen5357
@bryanjensen5357 4 жыл бұрын
Use Python (or language of your choice) to make an interpreter. Have your language do the translation for you. Quantum mechanics of speaking through multiple languages.
@mirobonacicdoric2191
@mirobonacicdoric2191 4 жыл бұрын
Its good to use c or c++ because they are fast
@ikytsu7822
@ikytsu7822 6 ай бұрын
@@mirobonacicdoric2191 yes it's better for making brainfuck thing, i made mine in C, i think C is really good for it since you don't need object oriented
@That_One_Guy...
@That_One_Guy... 4 жыл бұрын
The moment you mention bits and bits manipulation commands in Brain, i knew that this shit is gonna use ASCII code a lot.
@rcht9586
@rcht9586 3 жыл бұрын
Brainfuck is a pretty fun language when you know how to use it. Definitely a recommend!
@pitched7401
@pitched7401 Жыл бұрын
2:55 it's 2^8 combinations of numbers, including 0. Thanks for the tutorial, interesting to code more on the level of turing machines
@danielperetz2813
@danielperetz2813 4 жыл бұрын
3:00 well, the biggest value is 2^8 - 1, but there are 2^8 possible combinations
@TechWithTim
@TechWithTim 4 жыл бұрын
True! My bad, forgot about the 0 😳
@danielperetz2813
@danielperetz2813 4 жыл бұрын
@@TechWithTim Happens to the best.. By the way, I really love your videos, I'm learning a lot about python and JavaScript from you! I also have a question, what programming languages do you code in(advanced level)? I code in c, c#, JS and python(watching your expert series😁👌)
@TechWithTim
@TechWithTim 4 жыл бұрын
@@danielperetz2813 In advanced level just python and java although I'd like to say I'm decent at go!
@negardeylami336
@negardeylami336 2 жыл бұрын
Omg I found my favourite programming language Great tutorial
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
This is how you do a loop in Brainfck Start (Repeat amount i put 5 ) +++++ [ - (Action here, return pointer to location of the loop value, also dont overwrite the value) ]
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
Example add 5 to the next cell each time +++++ [ - >+++++< ]
@Muhammad-td7mg
@Muhammad-td7mg 4 жыл бұрын
In the videos that you share advice, Thank you for sharing such knowledge in your videos, You are so awesome and the knowledge you share is really helpful and indispensable. Love you and wish u the best ❤️❤️
@ibrakap
@ibrakap 4 жыл бұрын
Brainf*ck awesome. I will use as my main language!
@jtad5574
@jtad5574 4 жыл бұрын
Great Video Tim. Could you make a separate video for how to configure Sublime Text with Virtual environment specially pipenv?
@irontime2124
@irontime2124 4 жыл бұрын
Amazing video I love this language. Today onwards I will program in this only 😂😂😂
@DiscoLizzard
@DiscoLizzard 2 жыл бұрын
I finally understand the loop part of it. Thanks! :)
@engineering1O1
@engineering1O1 3 жыл бұрын
Tim you're a star
@IanJohnstonblog
@IanJohnstonblog 4 жыл бұрын
This. This kicks ass. Thanks Tim! 🇨🇦
@unlockwithjsr
@unlockwithjsr 4 жыл бұрын
Does this language have benefits?
@BlueFlash215
@BlueFlash215 4 жыл бұрын
0:55 are you seriously telling me I should sit down and read the documentation of all of the commands and functions this programming language has to offer? I haven't got all day! This is going to take me weeks! Kappa
@burzummmmm
@burzummmmm 4 жыл бұрын
Thank god you said kappa, I thought you were being serious!
@skeso2k157
@skeso2k157 3 жыл бұрын
@@burzummmmm what does “kappa” mean?
@irx0r
@irx0r 4 жыл бұрын
Thanks for the new study mate haha keep up the content hopefully more learn from you
@yandere_lover-tl9zs
@yandere_lover-tl9zs 4 жыл бұрын
Now this. Is simply amazing
@radiator007
@radiator007 3 жыл бұрын
Should i develop a game in brainfuck or assembly?
@miladhoseinzadeh1666
@miladhoseinzadeh1666 4 жыл бұрын
Hi there Tim. Thank you for your videos and tutorials. They are awesome. Could you please make React and React Native tutorials and make an app with them with the Django in the backend?
@BILGI_PASA
@BILGI_PASA 2 жыл бұрын
Thank you for video. It was really helpful!
@stonecrane167
@stonecrane167 Жыл бұрын
i agree
@etc_cubing5717
@etc_cubing5717 3 жыл бұрын
C's extension: I'm a popular choice for videogame developers Javascript's extension: i WaNnA F*cK wITh YoUR bRAiN
@christiank.4794
@christiank.4794 2 жыл бұрын
Isn't the amount of combinations 256?? Because you can write all numbers from 0 to 255?
@AbaseenPodcast
@AbaseenPodcast 2 жыл бұрын
ASCII: American Standard Code for Information Interchange
@not_vinkami
@not_vinkami 4 жыл бұрын
17:00 Tim: You should be able to write your own interpreter Me, a 9th grade boy: OK that sounds fair to me, *I've just made one a week ago*
@koki10190
@koki10190 2 жыл бұрын
the interpreter does not work it just prints nothing im on linux and python is installed.
@barmelumad3229
@barmelumad3229 4 жыл бұрын
Great video. I like the way you explain. Thanks to you it did not f*ck my brain.
@igeprogrammer
@igeprogrammer Жыл бұрын
To keep it family friendly, I'm going to leave the console unblurred
@nurbolbizhigit2557
@nurbolbizhigit2557 3 жыл бұрын
Hi Tim,thank you for the tutorial,can you please show how to implement classes in brainf*ck?
@jonahshao5595
@jonahshao5595 2 жыл бұрын
Great video thanks
@abrartajwar8561
@abrartajwar8561 3 жыл бұрын
heres another challenge, oop in BrainF​*ck. Hardcore mode initiated
@thegreatprogrammer5937
@thegreatprogrammer5937 3 жыл бұрын
It's like a game! Just few things you have and you are given a task to do with few things! Few things are the 8 chars and task is to code out in Brain.... Language!
@AdarshPathak
@AdarshPathak 3 жыл бұрын
Shouldn't the last one which didn't printed should've printed 'w' as 'r'+5 " = 'w'! No?
@andreaspatounis5674
@andreaspatounis5674 3 жыл бұрын
I am trying to make an BrainF*ck interpreter how many variables do you suggest me to let users use?
@ikytsu7822
@ikytsu7822 6 ай бұрын
30 000
@ikytsu7822
@ikytsu7822 6 ай бұрын
or a dynamic one
@infernus8926
@infernus8926 10 ай бұрын
It's easier than I thought.
@Cringber167
@Cringber167 Жыл бұрын
My only question is how did someone even program this programming language
@blazkowicz666
@blazkowicz666 2 жыл бұрын
How do I make a GET request in this language?
@andreaspatounis5674
@andreaspatounis5674 3 жыл бұрын
Is there any way to do an if statement
@germancubesolveryolo4524
@germancubesolveryolo4524 4 жыл бұрын
I took myself one week once and just programmed in BF. It was challenging........
@maindepth8830
@maindepth8830 3 жыл бұрын
The only hard part is keeping track of the values and the pointer
@Jeff-pt8sw
@Jeff-pt8sw 4 жыл бұрын
the intro got me already
@szlep8095
@szlep8095 2 жыл бұрын
Oh yeah, the og Turing machine
@retronbv8725
@retronbv8725 3 жыл бұрын
22:24 instead of doing 13 5 times do 10 6 times and add 5 after the loop
@raunter
@raunter Жыл бұрын
I wanna sleep but im afraid that ill dream of brainfuck Everytime i close my eyes all i see is brainfuck
@Zzznmop
@Zzznmop 4 жыл бұрын
Good sh*t Rockstar Lang next??
@swyrm616
@swyrm616 2 жыл бұрын
I wanna make a game using this-
@samarthtiwari5532
@samarthtiwari5532 3 жыл бұрын
So you mean when ASCII value of a character is a prime number then I have to type all the pluses
@TheSilenceMachine
@TheSilenceMachine 3 жыл бұрын
No, you can just use nested loops to get to a number close to the prime and then add the remainder
@l4m5
@l4m5 4 жыл бұрын
the language to communicate if there was a world war
@micosair
@micosair 4 жыл бұрын
Algorithms and ds are enough of a brainfuck for me,thanks.
@LJengineeringSR71
@LJengineeringSR71 4 жыл бұрын
One word: why????? OMG, now i understand the title
@justins7796
@justins7796 4 жыл бұрын
aight ima head out
@tangmoza7
@tangmoza7 Жыл бұрын
thank you sir you tutorial is more understandable than fucking GPT(as this brainfuck). love you
@varunaggarwal7126
@varunaggarwal7126 Жыл бұрын
Now just gonna solve some leetcode hard.
@maindepth8830
@maindepth8830 3 жыл бұрын
Imagine writing a game in this
@48_subhambanerjee22
@48_subhambanerjee22 10 ай бұрын
Someone did this ☠️
@maindepth8830
@maindepth8830 10 ай бұрын
@@48_subhambanerjee22 nah💀
@SkyFly19853
@SkyFly19853 4 жыл бұрын
That sounds like a total '' brainfu*k '' to me... 😏😆😆😆😆
@ID3sign9
@ID3sign9 4 жыл бұрын
but why use it though?
@warreninganji7881
@warreninganji7881 4 жыл бұрын
wish it had comments
@TechWithTim
@TechWithTim 4 жыл бұрын
Anything you write that’s not those symbols is a comment!
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
@@TechWithTim hah interesting
@KhaledAhmed-cs8rv
@KhaledAhmed-cs8rv 6 ай бұрын
At last someone is demonstrating it just normaly without stupid sound effects
@benliotta1030
@benliotta1030 4 жыл бұрын
Notification gang wya
@TechWithTim
@TechWithTim 4 жыл бұрын
So this kind of video peaked your interest ;)
@Sergey_Latyshev
@Sergey_Latyshev 4 жыл бұрын
I've made my IDE (Geany) to execute .bf files with that brainfuck.py to have no need for using cmd/terminal.
@filipetrujeira3359
@filipetrujeira3359 2 жыл бұрын
i neeeed heeeeelpppp my braaaiinnnnnnnnnnnnnnn
@nileriversoftware4070
@nileriversoftware4070 3 жыл бұрын
LOL, if it's a "family channel", then just don't make a video about BrainFuck. There are so many advantages to just hardcoding 65 plus signs. It's easier, faster, and has better code quality. (Your intention is NOT to calculate a value, just display a pre-determined value. If that value ever changes, it is easier to edit the number of + symbols rather than edit a formula/loop).
@raseshshetty2386
@raseshshetty2386 4 жыл бұрын
ASCIIstands o American standard code for information interchange
@ashwinshenoy6360
@ashwinshenoy6360 4 жыл бұрын
This is the perfect example of a use less tutorial.
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
Yes
@ashwinshenoy6360
@ashwinshenoy6360 4 жыл бұрын
@Shallex Yes which in all practical sense is useless
@thesysop4998
@thesysop4998 2 жыл бұрын
I am bored so I decided to learn this language
@calebarulandu3068
@calebarulandu3068 4 жыл бұрын
Tim the directory isn't very family friendly lol. C:/Users/timot/Desktop/Brainf***
@СергейФёдоров-щ8ш
@СергейФёдоров-щ8ш 4 жыл бұрын
Next must be FORTH ) FORTH really f*ck my mind )
@themovercell2318
@themovercell2318 3 жыл бұрын
Scratch made ones can have it being infinite!!!! (Limit : 20000 bits)
@Hubert4515
@Hubert4515 4 жыл бұрын
i feel brainfucked
@nasrshbool
@nasrshbool 2 жыл бұрын
I'm not brainfreaking, I'm just coding.😐
@k992-o6r
@k992-o6r 8 ай бұрын
tbh I disagree, brainfuck is beautifully simple and straightforward, however the operations we wish to run with it are very complicated, and the language lacks the shortcuts incorporated into much larger, more complicated languages. now with that being said it's utter bullshit and the only reasons to use it are masochism and/or curiosity, but if there's one thing it ain't, it sure as hell ain't complicated
@undisclosedmusic4969
@undisclosedmusic4969 4 жыл бұрын
Someone should write a BF code generator in Python
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
But why?
@giovane915
@giovane915 4 жыл бұрын
@@ekrem_dincel a little bit fun.
@yandere_lover-tl9zs
@yandere_lover-tl9zs 4 жыл бұрын
@@ekrem_dincel Bruh!, you replied to so many comments now.
@ekrem_dincel
@ekrem_dincel 4 жыл бұрын
@@yandere_lover-tl9zs bruh. There was few comments.
@sparrowkayuni5267
@sparrowkayuni5267 4 жыл бұрын
I don't know why, but I just can't imagine anyone using this language seriously😕😕
@marceid3578
@marceid3578 4 жыл бұрын
Hi
@mli8847
@mli8847 4 жыл бұрын
Challenge accepted
@costin88boss74
@costin88boss74 4 жыл бұрын
ah.. easier and simpler than Assembly language.
@bonaaq86
@bonaaq86 Жыл бұрын
Goodbye cruel world +[>+]
@EastCodersSwahili
@EastCodersSwahili Жыл бұрын
You forgot to sanitize your project name
@TechWithTim
@TechWithTim Жыл бұрын
😂
@EastCodersSwahili
@EastCodersSwahili Жыл бұрын
@@TechWithTim I guess that is among those errors visible only after deploying the software.
@maxgat5761
@maxgat5761 2 жыл бұрын
Really hurts my brain
@mauricetaneca9337
@mauricetaneca9337 4 жыл бұрын
yeah sure
@thisissomeone2570
@thisissomeone2570 3 жыл бұрын
I rather give up
@zaimanator
@zaimanator 4 жыл бұрын
Oh
@kamlajuyal8067
@kamlajuyal8067 2 жыл бұрын
Jesa naam vesa kaam
@christmassnow3465
@christmassnow3465 3 жыл бұрын
You can call it brain bender 😁
@l4m5
@l4m5 4 жыл бұрын
Nope! Not today
@maindepth8830
@maindepth8830 3 жыл бұрын
This doesnt seem that hars
@40yearoldguyfromnorthdakot51
@40yearoldguyfromnorthdakot51 4 жыл бұрын
Fucked with mine
@pratyaypatra7
@pratyaypatra7 11 ай бұрын
15:33
@jasontutorials4809
@jasontutorials4809 4 жыл бұрын
I can’t believe this is actually a language lol..no thanks..I will stick to c#, Python, or java...if only I can Print this statement in brainfuck...++++--..I tried....
@TechWithTim
@TechWithTim 4 жыл бұрын
Haha it’s not meant to be useful just a fun thing to mess with in some spare time !
@hasibislam4421
@hasibislam4421 3 жыл бұрын
who taught u this language? lmao
@omaribrahim180
@omaribrahim180 3 жыл бұрын
Tim is learning bad words lol
@rayaanibrahim4808
@rayaanibrahim4808 3 жыл бұрын
umm idk
@johnwickey4179
@johnwickey4179 3 жыл бұрын
oooooooooooooooooooooooooooooooo oooooooooooooooo oooooooo oooo oo o ( .
@johnwickey4179
@johnwickey4179 3 жыл бұрын
64 bits 32 bits 16 bits 8 bits 4 bits 2 bits 1 bits 0.5 bits 0.1 bits
@Shane-ig4pg
@Shane-ig4pg 4 жыл бұрын
First
@blazi_0
@blazi_0 3 жыл бұрын
Fuck this im not interested 😂
"Hello, World" in 5 CURSED languages that no one should use
13:08
Dreams of Code
Рет қаралды 538 М.
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 332 М.
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 39 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 115 МЛН
Programming War Crimes | Prime Reacts
10:36
ThePrimeTime
Рет қаралды 381 М.
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,4 МЛН
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 113 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 860 М.
An Introduction to Software Design - With Python
34:05
Tech With Tim
Рет қаралды 517 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 720 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 13 МЛН
Forbidden C++
33:07
javidx9
Рет қаралды 1 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 332 М.