ALGOL?

  Рет қаралды 28,002

Truttle1

Truttle1

Күн бұрын

It's the ALGOrithmic Language from 1958... except the version I use here is from 1960... It was the ancestor to most modern programming languages, and it was the first to implement the block statement. In this video, I write a couple programs with it.
VIDEO CHAPTERS:
0:00 Intro Animation (NOW WITH LIP SYNCING!!!)
1:03 What is ALGOL?
3:35 Hello World!
5:09 99 Bottles of Beer
6:35 Factorial
9:07 End
---
LINKS:
ALGOL on Wikipedia: en.wikipedia.org/wiki/ALGOL
ALGOL-60 Compiler: www.angelfire.com/biz/rhamini...
---
MUSIC USED:
"Artisan World" from Spyro the Dragon
"Pushing Onwards" from VVVVVV
"The Last Dungeon" from Wonder Boy - The Dragon's Trap
"Bumpsy Plains - Act 2" from Mario and Luigi: Bowser's Inside Story
Wii Shop Channel Theme

Пікірлер: 137
@penta5421
@penta5421 3 жыл бұрын
1:26 As a German, I think that was actually impressively close lol
@MarsCorporations
@MarsCorporations 3 жыл бұрын
Ja wenn man sich anhört was so manch anderer zusammenstammelt war das schon echt gut :)
@programmerlexi
@programmerlexi Жыл бұрын
Still wrong but close.
@AWriterWandering
@AWriterWandering 3 жыл бұрын
“And garbage!” Lol, shots fired. 😂
@nickfla1
@nickfla1 3 жыл бұрын
Still can’t understand why people hate PHP 🤷
@Me-da-Ghost
@Me-da-Ghost 3 жыл бұрын
@@nickfla1 it's confusing for no reason and annoying
@okie9025
@okie9025 3 жыл бұрын
@@Me-da-Ghost it's only confusing if you're not bright lol
@nickfla1
@nickfla1 3 жыл бұрын
@@Me-da-Ghost Have you actually tried modern day php?
@Me-da-Ghost
@Me-da-Ghost 3 жыл бұрын
@@nickfla1 wdym
@somebodyhere3160
@somebodyhere3160 3 жыл бұрын
“In C for example..” Proceeds to show C++ code
@DylanMatthewTurner
@DylanMatthewTurner 3 жыл бұрын
Dug around in the manual. "This may be done by using the pre-declared procedure text(device,string)" Digging further reveals "2.48 ALGOL fixed stream numbers" on line 1509 0 is a dummy device, 1 is basically the DOS equivalent of stdout, 2 I didn't understand, 3 is input... I think?, 4 is the same as 1 but without Ctrl+C, 5 has something to do with punch cards, 6 has to do with external devices, 7 is buffered console input with echo, 8 sets printer column, 9 is dummy (same as dev 0), 10 is directly to memory. It also says devices 1-7 are system calls, and there are no BIOS calls, but yeah, they're basically streams
@Truttle1
@Truttle1 3 жыл бұрын
Cool. I guess thats why 0 did nothing.
@AWriterWandering
@AWriterWandering 3 жыл бұрын
It says that 2 is AUX in MSDOS. From what I can gather, AUX went to the COM port. (The port commonly used for things like mice and modems on early PCs)
@wisteela
@wisteela 7 ай бұрын
​@@AWriterWanderingOoh, I can think of some fun uses for that.
@martinalcala4823
@martinalcala4823 3 жыл бұрын
Nice, it was just as comfortable to write as php
@justasjan8124
@justasjan8124 3 жыл бұрын
It was strange to watch Turttle1 video without those crazy screaming. Strange but pleasing.
@abuk95
@abuk95 3 жыл бұрын
I always wonder, why your characters are moving up and down all the time?
@Truttle1
@Truttle1 3 жыл бұрын
I thought it looked really awkward for them to be frozen still all the time
@abuk95
@abuk95 3 жыл бұрын
thought so well true, but there is also variety of more natural moves :) anyway, thanks for bringing us content about these uncommon languages :D
@sajeucettefoistunevaspasme
@sajeucettefoistunevaspasme 3 жыл бұрын
They're breathing
@Edward-it9cr
@Edward-it9cr 3 жыл бұрын
@@Truttle1 i like them, reminds me of paper mario characters!
@waffleman4503
@waffleman4503 3 жыл бұрын
i always assumed it was a nod to paper mario
@MCLooyverse
@MCLooyverse 3 жыл бұрын
I would **guess** that the `1` in `text(1, ...)` @4:35 means "standard out", while 0 means "standard in", and 2 means "standard error".
@sourabhchoure498
@sourabhchoure498 3 жыл бұрын
Yes exactly what I was going to comment.
@brucebaron1212
@brucebaron1212 3 жыл бұрын
@@sourabhchoure498 but then he used read(1) to input from the keyboard.
@MrCheeze
@MrCheeze 3 жыл бұрын
Those are the "streams" he mentioned in the video. (Though the true answer is what Dylan Turner said)
@TheGreatAtario
@TheGreatAtario 3 жыл бұрын
Manual lists the devices: 0 is null device, 1 is CON:, 2 is AUX:, 3 is LST:, etc. Each device reacts in its own way on input vs. output calls.
@ArazNebiza
@ArazNebiza 3 жыл бұрын
Hey truttle I wanted to say congrats on 2k Also OMG this 1080p 60frames is awesome
@Truttle1
@Truttle1 3 жыл бұрын
It's always been 1080p 60FPS
@ArazNebiza
@ArazNebiza 3 жыл бұрын
@@Truttle1 I only now started using it and damn your videos look beautiful
@josephcote6120
@josephcote6120 3 жыл бұрын
As far as mainframe ALGOL goes, the numbers with the input and output statements are used in the same way as device numbers in FORTRAN, and are defined externally to the program in the JCL's DD statements to associate the name (the number is a name) with a physical device like a tape drive or disk file. Interactive ALGOL had to be implemented differently for small machines and each one was unique; when it was only for batch mainframe processing it was easily portable with no rewriting needed.
@kunstkritik
@kunstkritik 3 жыл бұрын
1:26 for a non-native that was really good :o
@Truttle1
@Truttle1 3 жыл бұрын
Thx, Mr art critic
@kunstkritik
@kunstkritik 3 жыл бұрын
@@Truttle1 :D You're welcome. Glad that the almighty algorithm recommended me your channel
@zperk13
@zperk13 3 жыл бұрын
"and garbage" lol!
@Khusyasy
@Khusyasy 3 жыл бұрын
I clicked one of your videos, and now I can't stop watching them all
@tsunamio7750
@tsunamio7750 Жыл бұрын
Wonderful short on the language. So it's the big daddy of block statements! Exactly what I wanted to know (What did it improve, why is it famous). Thank you!
@circleubuntu
@circleubuntu 3 жыл бұрын
7:56 Yes that is real.
@Elitekross
@Elitekross 3 жыл бұрын
Fun fact, 0 factorial is defined as 1 and there is even a generalized "factorial" function for real numbers
@otesunki
@otesunki 2 жыл бұрын
boy do i love the gamma function. best function.
@ayushsharma8804
@ayushsharma8804 2 жыл бұрын
It works on complex numbers too.
@Truttle1
@Truttle1 3 жыл бұрын
Discord: discord.gg/EKPBjjUc65
@sourabhchoure498
@sourabhchoure498 3 жыл бұрын
invalid invite btw
@Truttle1
@Truttle1 3 жыл бұрын
@@sourabhchoure498 should be fixed
@sourabhchoure498
@sourabhchoure498 3 жыл бұрын
@@Truttle1 yup, thanks sir. You are awesome!
@robinpage2730
@robinpage2730 2 жыл бұрын
1 is used in the procedure section of assembly code, entered right before your string is loaded into the register. That's why the 1 is there
@dieselguitar1440
@dieselguitar1440 3 жыл бұрын
0! = 1, so you can actually have the factorial recursion go down one step further. It would be faster to say if x < 2 then x! = 1, but 1! = 1(0!) is more recursionny!
@mokopa
@mokopa 3 жыл бұрын
This channel: "...and GarBaGE!!" (PHP) Me: *Subscribe*
@frank_calvert
@frank_calvert 3 жыл бұрын
that german was clooooose
@huhneat1076
@huhneat1076 3 жыл бұрын
By the music you used I can tell you are of culture
@natilevia6794
@natilevia6794 3 жыл бұрын
Keep making awesome videos!
@Truttle1
@Truttle1 3 жыл бұрын
Ok
@EliSoli-pb6fp
@EliSoli-pb6fp 3 күн бұрын
4:39 that 1 probably means standard output (not a file, for example). Source: the file descriptor for stdout is 1 in many x86_64 systems
@ArthurKhazbs
@ArthurKhazbs 3 жыл бұрын
OOOH YES THE MUSIC FROM VVVVVV
@carlphilippgaebler5704
@carlphilippgaebler5704 3 жыл бұрын
Oh god why did you use Eversion music I'm getting flashbacks
@Truttle1
@Truttle1 3 жыл бұрын
BEHIND YOU
@chessprogramming591
@chessprogramming591 3 жыл бұрын
BIG Obfuscate smashing code block is gorgeous! - Bur what is that "1" needed for (before "Hello, world!") - NO IDEA, but without it it just DOESN'T WORK Ahhhhhh!!!!!!!!!!!! Love it!!!!!!!!!!!!!! - it prints one bottles instead of one bottle! - who cares?... - I do! - and I really don't Same in real world projects) - did you mean rerusion... )))))))))))
@0bfuscate
@0bfuscate 3 жыл бұрын
you don't seem to realize how painful stepping on Legos is...
@chessprogramming591
@chessprogramming591 3 жыл бұрын
@@0bfuscate any sacrifice is worth OBFUSCATION - you know it better than anyone else. Oh, it seems like I've commented from the other account) This is CMK) Obfuscate, what I'm really happy with is your SIZE in this video in comparison to other characters. Now it trully feels like they are PUNY MORTALS. Btw you didn't seem to release new videos on your channel - did you think about creating your own esoteric language to checkmate that truttle ones and forever? Also if she wants to make a video on YOUR esoteric lang you can ask her to buy copyrights first)
@Vallee152
@Vallee152 2 жыл бұрын
could the 1 be the pipe that the data goes to? 1 being user, 2 being error, 3 being program input? (or something similar, maybe a different order)
@MiMiBrokenbourgh
@MiMiBrokenbourgh Жыл бұрын
That “Program 0” music is terrifying
@Truttle1
@Truttle1 Жыл бұрын
Why?
@MiMiBrokenbourgh
@MiMiBrokenbourgh Жыл бұрын
@@Truttle1 remember your eversion video?
@Truttle1
@Truttle1 Жыл бұрын
@@MiMiBrokenbourgh yeah
@bradenbigham9875
@bradenbigham9875 Жыл бұрын
the lego is too big to feel any pain...
@joshi2342
@joshi2342 3 жыл бұрын
Wow this channel is really good
@roboltamy
@roboltamy 3 жыл бұрын
Truttle confirmed for 2021
@jemand771
@jemand771 2 жыл бұрын
that german bit was actually really good
@imaginaoYouTubesoquecomarrobas
@imaginaoYouTubesoquecomarrobas 2 жыл бұрын
Someone: "So, what does that do?" Nobody: Truttle1: "It does..." "NOTHIIIIIIIIING!!!"
@rainbowskeppy5292
@rainbowskeppy5292 2 жыл бұрын
why is my code not working INTEGER x FOR x := 0 STEP 1 UNTIL 100 DO BEGIN print(x) END
@crossity
@crossity Жыл бұрын
I guess argument 1, in I/O means filedirectory, terminal is 1 in assembler
@beautylola4218
@beautylola4218 3 жыл бұрын
Do Assembly please!
@EdKolis
@EdKolis 2 жыл бұрын
Wait, is Algol (the star) just a misspelling of the Arabic al-ghul? That would explain why it's called the demon star, since a gh(o)ul is a type of demon!
@wavezee8464
@wavezee8464 3 жыл бұрын
What about Prolog?
@batteryman2852
@batteryman2852 3 жыл бұрын
What about Algol Gene? :-P
@thezipcreator
@thezipcreator 2 жыл бұрын
2:07 wouldn't this just compare if two pointers are the same (which would always be false since you're creating a new char* in the if statement lol) then again there is cout
@kytekarthentau9417
@kytekarthentau9417 2 жыл бұрын
C++ allows for operator overloading, which std::string takes advantage of to make comparing strings quicker and less verbose. One of the overloads for std::string == takes in a string literal as its right hand, so if we assume 'red' in the code snippet holds a std::string, then "red == "sus"" is just running a string compare behind the operator, and if the strings are equal, the == operator will return 0 or true, making the code valid.
@WritingTeacher-jw4ul
@WritingTeacher-jw4ul 11 ай бұрын
VVVVVV!
@oderalon
@oderalon 3 жыл бұрын
1:27 not bad! not bad at all!
@__gadonk__
@__gadonk__ 2 жыл бұрын
pretty sure the number is a filedescriptor
@leonidas14775
@leonidas14775 9 ай бұрын
As someone who's used Pascal, "integer procedure" just feels wrong.
@ekio3572
@ekio3572 Жыл бұрын
1:28 hey i study there
@sandpaperunderthetable6708
@sandpaperunderthetable6708 3 жыл бұрын
Yipee
@georgerogers1166
@georgerogers1166 Жыл бұрын
Better than Fortran 77 Malt Liquor!
@tux1468
@tux1468 3 жыл бұрын
2:08 bruh 2:10 BRUH
@Truttle1
@Truttle1 3 жыл бұрын
lol
@elemenopi9239
@elemenopi9239 3 жыл бұрын
mong
@samuelgunter
@samuelgunter 3 жыл бұрын
achung us lmao
@B10KPlaysGames
@B10KPlaysGames 3 жыл бұрын
*STOP POSTING ABOUT AMONG US*
@samuelgunter
@samuelgunter 3 жыл бұрын
@@B10KPlaysGames you're cringe
@elemenopi9239
@elemenopi9239 3 жыл бұрын
WAIT YOU KNOW TUX1?
@qazw5414
@qazw5414 Жыл бұрын
you're that toki pona guy!
@mkDaniel
@mkDaniel 3 жыл бұрын
Reminds me of BASIC.
@AlmirBispo-CSV-Comp-DB
@AlmirBispo-CSV-Comp-DB 3 жыл бұрын
You forgot Pascal
@Truttle1
@Truttle1 3 жыл бұрын
I'll do a Pascal video eventually
@michaelstoeckel2954
@michaelstoeckel2954 Жыл бұрын
@@Truttle1 No, I think it was meant .. you forgot to mention Pascal as a direct descendant of ALGOL as well as Modula-2.
@adivp7
@adivp7 2 жыл бұрын
2:13 funny. thanks.
@pimakpimak
@pimakpimak 3 жыл бұрын
I had to create a compiler for algol 60 in school, horrible story
@pinkshortcomedy
@pinkshortcomedy 3 жыл бұрын
Narrator: and garbage Screen: PHP logo Wordpresss:
@_GhostMiner
@_GhostMiner 3 жыл бұрын
*2:13** Among us again?*
@vicr123
@vicr123 3 жыл бұрын
I didn't realise Eidex was wearing glasses... EDIT: In case you're not aware, 0! is defined to equal 1, so the factorial function should really check for equality with 0 instead of 1 :)
@nocturne6320
@nocturne6320 3 жыл бұрын
2:08 GETOUTOFMYHEADGETOUTOFMYHEADGETOUTOFMYHEADGETOUTOFMYHEAD
@mirandnyan
@mirandnyan 3 жыл бұрын
pronounced that university quite alright I would say
@MsMosoka
@MsMosoka 2 жыл бұрын
2:11 sus
@Rignchen
@Rignchen 7 ай бұрын
1:30 you could simply have said "ETHZ" it would have been fine
@vmgpofc
@vmgpofc 3 жыл бұрын
Try V++!
@mathgeniuszach
@mathgeniuszach 3 жыл бұрын
Actually, 0! is 1, not 0, despite the fact that 0*0 is 0.
@jangamecuber
@jangamecuber 2 жыл бұрын
It is that way because 3! = 3 * 2! 2! = 2 * 1! 1! = 1 * 0! To make this work, 0! = 1. 0! = 0 * -1! -1! = 0!/0 -1! = 1/0 That is why factorial is undefined for negative integers
@ThatDumbPan
@ThatDumbPan Жыл бұрын
wait, did you refer to php as garbage? i like php :(((
@Truttle1
@Truttle1 Жыл бұрын
zomg I found an endangered species in the comments
@Maxixe-nn1sr
@Maxixe-nn1sr Жыл бұрын
why
@imlxh7126
@imlxh7126 3 жыл бұрын
0:51 hey dude, don't dunk on c-tail for being gay. hes living his best life and i support him
@Truttle1
@Truttle1 3 жыл бұрын
Wut???
@imlxh7126
@imlxh7126 3 жыл бұрын
​@@Truttle1 ...my bad, my dude, i had this on while cleaning my room. and i THOUGHT i heard him get called a "fruit" but uh. he is being called a "blueberry" which is a) more specific and b) WAY more funny sorry feel free to ignore this dumb comment, it was honestly just me being a complete dingus and you don't need to take it to heart at all lol
@imlxh7126
@imlxh7126 3 жыл бұрын
@@Truttle1 honestly i kinda want to delete this dumb comment now but i figured like i owed you an apology for mishearing something on my part (especially since i was like. several feet away listening on laptop speakers)
@SWFYSCOfficial
@SWFYSCOfficial 3 жыл бұрын
LOL
@paratsuki
@paratsuki Жыл бұрын
man that moment talking about the star was funny 👍👍👍
@user-bp3my9oy3c
@user-bp3my9oy3c 3 жыл бұрын
CARLSVENTURES PLZZZZZZZZZZZZ
@a.k_theportal3085
@a.k_theportal3085 2 жыл бұрын
The 1 in the text function specifies a stream, here is a list of streams: stdin - /dev/stdin on unix: input from user, number 0 stdout - /dev/stdout on unix: output from program, number 1 stderr - /dev/stderr on unix: error output from program, number 2-3
@mynameisjustt
@mynameisjustt 2 жыл бұрын
RED IS S U S
@nro337
@nro337 3 жыл бұрын
😂😂
@mm552
@mm552 Жыл бұрын
At one point i could stand in a box full of legos and feel nothing, clearly i was a stupid kid who did not understand how surfaces work. 😂
@EdKolis
@EdKolis 2 жыл бұрын
Wow they really; like; semicolons;;;
@thescratchguy428
@thescratchguy428 2 жыл бұрын
lip syncjg
@madshundevadroerpedersen8399
@madshundevadroerpedersen8399 3 жыл бұрын
Can you make a video about the first programming languege?? PS: it is called FORTRAN
GameMaker: The Right Way
11:13
Truttle1
Рет қаралды 12 М.
Hofstadter!
13:43
Truttle1
Рет қаралды 8 М.
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 25 МЛН
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 54 МЛН
ALGOL 60 at 60 - Computerphile
14:06
Computerphile
Рет қаралды 89 М.
NDBall!
7:35
Truttle1
Рет қаралды 20 М.
Malbolge!: Taming the Beast
17:41
Truttle1
Рет қаралды 11 М.
Atari 2600 Programming is a NIGHTMARE
15:38
Truttle1
Рет қаралды 13 М.
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 273 М.
A Brief Introduction to Esoteric Programming Languages
21:35
Hillel Wayne
Рет қаралды 332 М.
Making Minesweeper in COBOL
10:52
Truttle1
Рет қаралды 6 М.
Wirth on his first Algol compiler
2:08
Turing Awardee Clips
Рет қаралды 1,8 М.
AsciiDots!
9:30
Truttle1
Рет қаралды 79 М.
(Dead)Fish!
11:40
Truttle1
Рет қаралды 18 М.
Секретный смартфон Apple без камеры для работы на АЭС
0:22
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57
Main filter..
0:15
CikoYt
Рет қаралды 9 МЛН