ALGOL?

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 139

  • @penta5421
    @penta5421 3 года назад +151

    1:26 As a German, I think that was actually impressively close lol

    • @MarsCorporations
      @MarsCorporations 3 года назад +17

      Ja wenn man sich anhört was so manch anderer zusammenstammelt war das schon echt gut :)

    • @programmerlexi
      @programmerlexi Год назад +1

      Still wrong but close.

  • @AWriterWandering
    @AWriterWandering 3 года назад +75

    “And garbage!”
    Lol, shots fired. 😂

    • @nickfla1
      @nickfla1 3 года назад +2

      Still can’t understand why people hate PHP 🤷

    • @Me-da-Ghost
      @Me-da-Ghost 3 года назад +7

      @@nickfla1 it's confusing for no reason and annoying

    • @okie9025
      @okie9025 3 года назад +1

      @@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 года назад +1

      @@nickfla1 wdym

  • @DylanMatthewTurner
    @DylanMatthewTurner 3 года назад +70

    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 года назад +23

      Cool. I guess thats why 0 did nothing.

    • @AWriterWandering
      @AWriterWandering 3 года назад +8

      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 10 месяцев назад

      ​@@AWriterWanderingOoh, I can think of some fun uses for that.

  • @somebodyhere3160
    @somebodyhere3160 3 года назад +20

    “In C for example..”
    Proceeds to show C++ code

  • @martinalcala4823
    @martinalcala4823 3 года назад +76

    Nice, it was just as comfortable to write as php

  • @MCLooyverse
    @MCLooyverse 3 года назад +41

    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 года назад +5

      @@sourabhchoure498 but then he used read(1) to input from the keyboard.

    • @MrCheeze
      @MrCheeze 3 года назад +7

      Those are the "streams" he mentioned in the video. (Though the true answer is what Dylan Turner said)

    • @TheGreatAtario
      @TheGreatAtario 3 года назад +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.

  • @abuk95
    @abuk95 3 года назад +43

    I always wonder, why your characters are moving up and down all the time?

    • @Truttle1
      @Truttle1  3 года назад +47

      I thought it looked really awkward for them to be frozen still all the time

    • @abuk95
      @abuk95 3 года назад +2

      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 года назад +1

      They're breathing

    • @jet-it9cr
      @jet-it9cr 3 года назад +3

      @@Truttle1 i like them, reminds me of paper mario characters!

    • @waffleman4503
      @waffleman4503 3 года назад +2

      i always assumed it was a nod to paper mario

  • @justasjan8124
    @justasjan8124 3 года назад +19

    It was strange to watch Turttle1 video without those crazy screaming. Strange but pleasing.

  • @ArazNebiza
    @ArazNebiza 3 года назад +15

    Hey truttle I wanted to say congrats on 2k
    Also OMG this 1080p 60frames is awesome

    • @Truttle1
      @Truttle1  3 года назад +4

      It's always been 1080p 60FPS

    • @ArazNebiza
      @ArazNebiza 3 года назад

      @@Truttle1 I only now started using it and damn your videos look beautiful

  • @Elitekross
    @Elitekross 3 года назад +18

    Fun fact, 0 factorial is defined as 1 and there is even a generalized "factorial" function for real numbers

    • @otesunki
      @otesunki 2 года назад +4

      boy do i love the gamma function.
      best function.

    • @ayushsharma8804
      @ayushsharma8804 2 года назад +6

      It works on complex numbers too.

  • @josephcote6120
    @josephcote6120 3 года назад +6

    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 года назад +7

    1:26 for a non-native that was really good :o

    • @Truttle1
      @Truttle1  3 года назад +2

      Thx, Mr art critic

    • @kunstkritik
      @kunstkritik 3 года назад

      @@Truttle1 :D
      You're welcome. Glad that the almighty algorithm recommended me your channel

  • @Truttle1
    @Truttle1  3 года назад +13

    Discord: discord.gg/EKPBjjUc65

  • @tsunamio7750
    @tsunamio7750 Год назад +1

    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 года назад +4

    7:56
    Yes that is real.

  • @Khusyasy
    @Khusyasy 3 года назад +3

    I clicked one of your videos, and now I can't stop watching them all

  • @zperk13
    @zperk13 3 года назад +7

    "and garbage" lol!

  • @robinpage2730
    @robinpage2730 2 года назад +3

    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 года назад +5

    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!

  • @frank_calvert
    @frank_calvert 3 года назад +5

    that german was clooooose

  • @mokopa
    @mokopa 3 года назад +2

    This channel: "...and GarBaGE!!" (PHP)
    Me: *Subscribe*

  • @gone57576
    @gone57576 3 года назад +5

    Keep making awesome videos!

  • @carlphilippgaebler5704
    @carlphilippgaebler5704 3 года назад +2

    Oh god why did you use Eversion music I'm getting flashbacks

  • @Crazykidgalaxy3773
    @Crazykidgalaxy3773 2 месяца назад +1

    Algol continental drift

  • @joshi2342
    @joshi2342 3 года назад +2

    Wow this channel is really good

  • @EliSoli-pb6fp
    @EliSoli-pb6fp 2 месяца назад

    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

  • @imaginaoYouTubesoquecomarrobas
    @imaginaoYouTubesoquecomarrobas 2 года назад

    Someone: "So, what does that do?"
    Nobody:
    Truttle1: "It does..."
    "NOTHIIIIIIIIING!!!"

  • @ArthurKhazbs
    @ArthurKhazbs 3 года назад +1

    OOOH YES THE MUSIC FROM VVVVVV

  • @roboltamy
    @roboltamy 3 года назад +6

    Truttle confirmed for 2021

  • @vicr123
    @vicr123 3 года назад +2

    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 года назад +1

    2:08 GETOUTOFMYHEADGETOUTOFMYHEADGETOUTOFMYHEADGETOUTOFMYHEAD

  • @MiMiBrokenbourgh
    @MiMiBrokenbourgh 2 года назад

    That “Program 0” music is terrifying

  • @rainbowskeppy5292
    @rainbowskeppy5292 3 года назад +1

    why is my code not working
    INTEGER x
    FOR x := 0 STEP 1 UNTIL 100 DO
    BEGIN
    print(x)
    END

  • @huhneat1076
    @huhneat1076 3 года назад

    By the music you used I can tell you are of culture

  • @chessprogramming591
    @chessprogramming591 3 года назад +1

    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 года назад +3

      you don't seem to realize how painful stepping on Legos is...

    • @chessprogramming591
      @chessprogramming591 3 года назад +1

      @@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)

  • @tux1468
    @tux1468 3 года назад +5

    2:08 bruh
    2:10 BRUH

  • @bradenbigham9875
    @bradenbigham9875 2 года назад

    the lego is too big to feel any pain...

  • @crossity
    @crossity Год назад

    I guess argument 1, in I/O means filedirectory, terminal is 1 in assembler

  • @adivp7
    @adivp7 2 года назад +1

    2:13 funny. thanks.

  • @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!

  • @undefined-none
    @undefined-none 25 дней назад

    Hmm, Algol 60 is it similar to fortran 90/95

  • @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)

  • @jemand771
    @jemand771 2 года назад

    that german bit was actually really good

  • @beautylola4218
    @beautylola4218 3 года назад +1

    Do Assembly please!

  • @__gadonk__
    @__gadonk__ 2 года назад

    pretty sure the number is a filedescriptor

  • @WritingTeacher-jw4ul
    @WritingTeacher-jw4ul Год назад +1

    VVVVVV!

  • @leonidas14775
    @leonidas14775 Год назад

    As someone who's used Pascal, "integer procedure" just feels wrong.

  • @pimakpimak
    @pimakpimak 3 года назад +1

    I had to create a compiler for algol 60 in school, horrible story

  • @ekio3572
    @ekio3572 Год назад

    1:28 hey i study there

  • @wavezee8464
    @wavezee8464 3 года назад

    What about Prolog?

  • @batteryman2852
    @batteryman2852 3 года назад

    What about Algol Gene? :-P

  • @AlmirBispo-CSV-Comp-DB
    @AlmirBispo-CSV-Comp-DB 3 года назад +2

    You forgot Pascal

    • @Truttle1
      @Truttle1  3 года назад +1

      I'll do a Pascal video eventually

    • @michaelstoeckel2954
      @michaelstoeckel2954 2 года назад

      @@Truttle1 No, I think it was meant .. you forgot to mention Pascal as a direct descendant of ALGOL as well as Modula-2.

  • @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 года назад +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.

  • @oderalon
    @oderalon 3 года назад

    1:27 not bad! not bad at all!

  • @pinkshortcomedy
    @pinkshortcomedy 3 года назад

    Narrator: and garbage
    Screen: PHP logo
    Wordpresss:

  • @ThatDumbPan
    @ThatDumbPan 2 года назад +1

    wait, did you refer to php as garbage? i like php :(((

    • @Truttle1
      @Truttle1  2 года назад +3

      zomg I found an endangered species in the comments

    • @Maxixe-nn1sr
      @Maxixe-nn1sr 2 года назад

      why

  • @_GhostMiner
    @_GhostMiner 3 года назад

    *2:13** Among us again?*

  • @stefanalecu9532
    @stefanalecu9532 2 месяца назад

    Bro really talked about Algol and specifically forgot Pascal... Huh, that's surely a coincidence 🤔

  • @Rignchen
    @Rignchen 10 месяцев назад

    1:30 you could simply have said "ETHZ" it would have been fine

  • @mirandnyan
    @mirandnyan 3 года назад

    pronounced that university quite alright I would say

  • @mkDaniel
    @mkDaniel 3 года назад

    Reminds me of BASIC.

  • @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

  • @MsMosoka
    @MsMosoka 2 года назад

    2:11 sus

  • @paratsuki
    @paratsuki Год назад

    man that moment talking about the star was funny 👍👍👍

  • @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

  • @SWFYSCOfficial
    @SWFYSCOfficial 3 года назад

    LOL

  • @vmgpofc
    @vmgpofc 3 года назад

    Try V++!

  • @mynameisjustt
    @mynameisjustt 3 года назад

    RED IS S U S

  • @elemenopi9239
    @elemenopi9239 3 года назад

    WAIT YOU KNOW TUX1?

    • @qazw5414
      @qazw5414 Год назад +1

      you're that toki pona guy!

  • @sandpaperunderthetable6708
    @sandpaperunderthetable6708 3 года назад

    Yipee

  • @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 года назад +4

      Wut???

    • @imlxh7126
      @imlxh7126 3 года назад +2

      ​@@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)

  • @user-bp3my9oy3c
    @user-bp3my9oy3c 3 года назад

    CARLSVENTURES PLZZZZZZZZZZZZ

  • @madshundevadroerpedersen8399
    @madshundevadroerpedersen8399 3 года назад +1

    Can you make a video about the first programming languege??
    PS: it is called FORTRAN

  • @EdKolis
    @EdKolis 2 года назад

    Wow they really; like; semicolons;;;

  • @nro337
    @nro337 3 года назад

    😂😂

  • @georgerogers1166
    @georgerogers1166 Год назад

    Better than Fortran 77 Malt Liquor!

  • @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. 😂