Can we compile C code into PowerPoint?

Sdílet
Vložit
  • čas přidán 31. 03. 2020
  • GitHub:
    github.com/TomWildenhain/pptcc
    PPSuite:
    devpost.com/software/ppcc
  • Věda a technologie

Komentáře • 593

  • @flashtirade
    @flashtirade Před 4 lety +3507

    The endgame of all of this is to get Powerpoint to compile and run itself.

    • @InternalGMS
      @InternalGMS Před 4 lety +182

      It seems funny but in reality most of the programming languages are built on themselves. Example, Go is written in GoLang.

    • @unsafecast3636
      @unsafecast3636 Před 4 lety +18

      @@InternalGMS what do you mean? How can you run go code in go, while the language doesn't exist yet?

    • @camotubi
      @camotubi Před 4 lety +120

      @@unsafecast3636 the first compiler is not written in that language. Once you have an X language compiler, you can write the compiler in that X language. This is also the case with Rust.

    • @FlameRat_YehLon
      @FlameRat_YehLon Před 4 lety +13

      @@camotubi Actually... Not really. If you write a compiler of the language it's written in, and it's the first compiler to the language, it just means you have to manually compile it by hand. In a way, this could mean all programming languages are written in math formulae or its equivalent, or maybe English, for example, all for human(s) to interpret.

    • @dowiee2694
      @dowiee2694 Před 4 lety +81

      野龍 Nope. This process is referred to as “bootstrapping.” A compiler is written for the language in question in a certain language, which can then be used to compile source code written in the target language for a compiler for the language. The rust compiler, for example, was bootstrapped in OCaml.

  • @exm3266
    @exm3266 Před 4 lety +2927

    _The year is 2050. PowerPoint C remains widely used for its efficiency, despite its support being terminated decades ago. No one really knows anything about it besides that it works. And also the fact that one of the original creators had the bright idea to put the documentation in a Google Doc._

    • @MrAlex3461
      @MrAlex3461 Před 4 lety +18

      Oh my god your voice.

    • @FockeWulfFW200
      @FockeWulfFW200 Před 4 lety +78

      you basically described the history of COBOL

    • @vincentguttmann2231
      @vincentguttmann2231 Před 4 lety +42

      But can it run in Google slides? That would be the ultimate goal: A Google slides document running something like PowerPoint 98

    • @elmajore4818
      @elmajore4818 Před 4 lety +22

      Waiting on the Tom Scott Video version of this story.

    • @yashrajtalan
      @yashrajtalan Před 4 lety +1

      @@vincentguttmann2231 it probably can, seeing that Google allows using Google Code ie. Javascript in some of its apps

  • @qwertykeys6803
    @qwertykeys6803 Před 4 lety +1047

    _So thats what cpp means..._ *C PowerPoint*

  • @whatno5090
    @whatno5090 Před 4 lety +498

    The ultimate april fools prank is leaving your april fools prank as an exercise to the reader

  • @tyzonemusic
    @tyzonemusic Před 4 lety +1352

    0:34 I find it hard to believe nobody was talking about PowerPoint in the 16th century. It was all the rage back then!

    • @whiderboss
      @whiderboss Před 4 lety +53

      They didn't understand how to use it so they used Word, then they forgot about PP until the late 20th century when archeologists dug it up

    • @li_tsz_fung
      @li_tsz_fung Před 4 lety +5

      No, if you look at the statistics from stackoverflow. People were already discussing the unlimited possibility of powerpoint

    • @michelbruns
      @michelbruns Před 4 lety +2

      Tyzone True... That graph was bad used.. obviously it’s getting used more now

    • @michelbruns
      @michelbruns Před 4 lety +13

      *S U C T I O N* your the dumb one.. it was a joke and such a obvious one

    • @michelbruns
      @michelbruns Před 4 lety +17

      @*S U C T I O N* it was a JOKE and you STILL dont get it

  • @0NBalfa0
    @0NBalfa0 Před 4 lety +543

    Loved the mathematical bit. I swear that you see "it trivially follows" in books out of the author's spite for the time they read "it trivially follows" when it wasn't the case at all.

    • @ais4185
      @ais4185 Před 4 lety +11

      That would explain a lot, actually

    • @drspangle13
      @drspangle13 Před 4 lety +79

      The OG: "I have discovered a truly remarkable proof of this theorem which this margin is too small to contain."

    • @potatoonastick2239
      @potatoonastick2239 Před 4 lety +9

      @@drspangle13 The man, the myth, the legend; FERMAT!

    • @0NBalfa0
      @0NBalfa0 Před 4 lety +12

      @pyropulse why are you taking a joke seriously? Also, said requirements of what is considered as advanced knowledge varies greatly. It's not something that is considered as a constant among mathematicians to even fully make that assumption. Especially considering papers and moreso books tend to begin with definitions of symbols and terms used.
      I have found myself in a situation where I couldn't see how something trivially followed from 2 referenced theorems in a book and after taking a course in that subject and looking at it again idly, it really did look like it trivially followed. In such a case, the perspective added from the classes helped. I do understand why someone would use it in one case or another, it doesn't mean I am in complete agreement with it though for every case.

  • @janikarkkainen3904
    @janikarkkainen3904 Před 4 lety +125

    "Probably not, but let's try anyway!"

    • @h.celine9303
      @h.celine9303 Před 4 lety +3

      Your comment, in combination with your profile pic, caused me to open a bottle of beer. Cheers!

  • @electromorphous9567
    @electromorphous9567 Před 4 lety +293

    Quarantine day 69: man figures out how to compile C in PowerPoint.

    • @timgreller
      @timgreller Před 4 lety +13

      Quarantine day 420: The PowerPoint AI is starting to take over the world.

    • @felixthehuman
      @felixthehuman Před 4 lety +1

      Quarantine day -77 man finishes all of Advent of Code 2019 in Excel.

  • @icedude_907
    @icedude_907 Před 4 lety +38

    That poke at JavaScript got me. Too true.

  • @amaryllis0
    @amaryllis0 Před 4 lety +126

    Now _this_ is what I like to see on my youtube subscription feed

  • @97Giorgos97
    @97Giorgos97 Před 4 lety +108

    *_Crysis: So you're telling me there's a chance_*

    • @naphackDT
      @naphackDT Před 4 lety +5

      Probably not Crysis, but the people over at r/itrunsdoom may find this interesting.

    • @322melissa
      @322melissa Před 2 lety

      Best. Comment. Ever.

  • @ImHikaruCat
    @ImHikaruCat Před 4 lety +419

    This is when a computer scientist have too many spare time during quarantine

    • @TheMr82k
      @TheMr82k Před 4 lety +1

      who dat girl in your profile homie?

    • @ImHikaruCat
      @ImHikaruCat Před 4 lety +3

      @@TheMr82k She is Sasami Tsukuyomi

    • @TheMr82k
      @TheMr82k Před 4 lety +7

      @@ImHikaruCat Rule34 here I come

    • @irend1163
      @irend1163 Před 4 lety +4

      @@TheMr82k oh god no, catgirl are headpat only not lewd

    • @signalised9540
      @signalised9540 Před 4 lety +1

      @@ImHikaruCat q

  • @TimeoutMegagameplays
    @TimeoutMegagameplays Před 4 lety +83

    What a time to be alive.

    • @pladselsker8340
      @pladselsker8340 Před 4 lety +25

      5 minutes paper gang

    • @JorgetePanete
      @JorgetePanete Před 4 lety +8

      Just two more slides down the line and we have Crysis

    • @GKS225
      @GKS225 Před 4 lety +1

      The source code of the project is also available

    • @jaysonbunnell8097
      @jaysonbunnell8097 Před 4 lety +1

      You startled me! Good thing I was holding on to my papers

  • @blurook
    @blurook Před 4 lety +37

    I'm close friends with one of the University of Chicago researchers who made PPSuite for the hackathon. He forwarded our group of hometown friends this video. I love the way you broke down the core concepts for a general audience to understand. Good work! Cheers.

  • @nk-qy2xp
    @nk-qy2xp Před 4 lety +27

    This reminds me a lot of when I used to build gigantic contraptions out of redstone in Minecraft. Both are hugely impractical but immensely satisfying.

    • @h.celine9303
      @h.celine9303 Před 4 lety

      I remember building flip-flops and xor gates from redstone on my friends xbox. That was pretty funny.
      When I got MC for the PC, I modded the hell out of it and used computer craft and other mods to have interpreters for scripting languages (computer craft used Lua, can't remember the others, tho')
      I should really get back to this :D

  • @martinxXsuto
    @martinxXsuto Před 4 lety +271

    At first i was amused thinking it's an april fools video.
    But then i remebered that this is the day SIGBOVIK is held.
    Then i realized you will try to actually do this.
    After that it just became more and more painful as time went on.
    Looking forward to the next hilariously useless invention involving microsoft office programs

    • @akshitkumar9402
      @akshitkumar9402 Před 4 lety

      thats cool but ion remember asking though

    • @Flowtail
      @Flowtail Před 4 lety +4

      Its shit like this that make me happy i picked CS as my major

  • @taylorhancock5834
    @taylorhancock5834 Před 4 lety +34

    You may be my favorite CZcamsr because every time I look at your channel, I feel like my years of Microsoft Office experience have been made obsolete, and that you will teach me the way of the future...happy April Fools, and I can’t wait to see what else you do with Office!

  • @okie9025
    @okie9025 Před 4 lety +28

    When PP manages to run more things than Javascript, you know it's getting real

  • @MaxDiscere
    @MaxDiscere Před 4 lety +60

    If we got the c compiler, running crysis is just a few formal steps

    • @potatoonastick2239
      @potatoonastick2239 Před 4 lety +6

      Presuming you manage to implement a graphics output and controls input, it would be theoretically possible
      But I very much doubt it'll ever get further than theoretical, even if someone made it it wouldn't nearly be fast and optimised enough

    • @David-ck4ep
      @David-ck4ep Před 4 lety +15

      Potato on a stick that won’t stop us and you know it

  • @carloscortez9479
    @carloscortez9479 Před 4 lety +82

    "However, the popularity of javascript and electron aplications shows..its not elegance or efficiency" On point.

  • @AndyChamberlainMusic
    @AndyChamberlainMusic Před 4 lety +24

    When I sat in on an artificial intelligence class at the college I ended up attending they showed your video on powerpoint as a Turing machine, and now I've randomly found you on CZcams! Very cool

  • @MarioDittrichRS
    @MarioDittrichRS Před 4 lety +4

    PPPPPPPPPP - Peter Parkers Public Pointless Personal Power Point Programming Presentation Part 2

    • @h.celine9303
      @h.celine9303 Před 4 lety +2

      You sure love your alliterations, Spidey.

  • @ThePharphis
    @ThePharphis Před 4 lety +32

    you're nuts, I love it

  • @Stetofire
    @Stetofire Před 4 lety +313

    Can you write a macro for your computer to search out the nearest pixel of a certain colour and click it? Testing would go much smoother.

    • @tomwildenhain
      @tomwildenhain  Před 4 lety +204

      Yes, in fact clicker.py in the GitHub repo does just that.

    • @thomasi.4981
      @thomasi.4981 Před 4 lety +4

      You could use something similar to this to make every pixel location on a screen carry data to the next screen via mouse coordinates. The PPT just needs to have a way to create an updating popup that tells you the current x,y of your pointer, so that you can intentionally preserve specific data.

    • @PeterBarnes2
      @PeterBarnes2 Před 2 lety

      @@thomasi.4981 This could even be implemented in a user-plausible way by making the locations substantially larger than a pixel. Maybe you won't get _good_ performance, but you could maybe do two bytes at a time, one each for x and y.

  • @creativebeetle
    @creativebeetle Před 4 lety +5

    You've actually done it
    Fantastic work mate! Gave me a good laugh

  • @Tymon0000
    @Tymon0000 Před 4 lety +139

    "Sometimes we ask ourselves if we could do something. But it doesn't mean we should."
    ~Abraham Lincoln

    • @Tymon0000
      @Tymon0000 Před 4 lety

      @@vlc-cosplayer It's time to get Schwifty in here!

    • @pladselsker8340
      @pladselsker8340 Před 4 lety +1

      I like useless and unecessary things. Isn't life unecessary as a whole anyway? Just do the thing man

    • @kya_se
      @kya_se Před 4 lety

      @@qvindicator life

  • @TheElchzuechter
    @TheElchzuechter Před 4 lety +1

    I love the fact that this video is released on the 2nd of April. This only shows how seriously your intensive research should be taken!

  • @casperes0912
    @casperes0912 Před 4 lety

    I love your humour so much, mate. This was incredible

  • @undisclosedmusic4969
    @undisclosedmusic4969 Před 4 lety +18

    I would quite like to see the performance of nested matrix multiplications and the implementation of differentiable primitives as well as probability distributions as first-class citizens so I can finally convert my workflow from TensorFlow to PowerPoint

  • @MiaKiesman
    @MiaKiesman Před 4 lety +34

    Wouldn't it be easier to use a simpler instruction set that C already has a compiler for, like RISC V?

  • @dead-wi2el
    @dead-wi2el Před 4 lety

    got recommended this and this is top tier for a 21k sub channel. earned a sub.

  • @LisaMiza
    @LisaMiza Před 4 lety +11

    I love how you just totally ignore the sanity of what you're doing... you mention it, but doesn't hesitate. XD

  • @RazgrisFloob
    @RazgrisFloob Před 3 lety +5

    I admire how you managed to build an 8 cell turing machine in only more than half as many autoshapes as an 8086 has transistors.

  • @jacq0272
    @jacq0272 Před 3 lety

    Just remembered this existed, and wanted to say its mad and really impressive!

  • @GerbenWijnja
    @GerbenWijnja Před 4 lety +58

    I guess whether it can run Crysis depends on your definition of "run".

  • @JohnDoe-zc4mu
    @JohnDoe-zc4mu Před 4 lety +39

    The only one who can put "Powerpoint" on its résumé

  • @ethanhampton4014
    @ethanhampton4014 Před 4 lety

    Within the first minute and a half, I already knew this was going to be good

  • @JOELwindows7
    @JOELwindows7 Před 4 lety +1

    This is your daily dose of Recommendation
    Powerpoint programming

  • @willie123567
    @willie123567 Před 4 lety +3

    This is truly amazing

  • @BeastinlosersHD
    @BeastinlosersHD Před 4 lety

    This is some of the best programmer humor out there.

  • @jackytaly
    @jackytaly Před 4 lety +5

    For the first almost 2 minutes, I was confused
    like ‘wait I didn’t know you could code in powerpoint’
    then I realized how up there I am 😂

  • @llFike
    @llFike Před 4 lety

    My dude, i just have 2 things to say, 1 you are amazing and crazy, 2 nice job, im sure one day someone will make such compiler.

  • @firesoul453
    @firesoul453 Před 3 lety

    Its not everyday I truly laugh out loud. This was epic.

  • @DrTacoPHD665
    @DrTacoPHD665 Před 4 lety +1

    I knew this subscription would pay off one day

  • @pokefilico28
    @pokefilico28 Před 4 lety

    You are a madman my friend

  • @usernameusername4037
    @usernameusername4037 Před 4 lety +16

    But can it run crysis?

  • @le9038
    @le9038 Před 2 lety +1

    Oh boy! I can't wait to compile my _main.c_ into _main.pptx_ !

  • @pdrg
    @pdrg Před 4 lety

    I like your graph axes for "Powerpoint"

  • @ValentinPasseraH
    @ValentinPasseraH Před 4 lety +1

    I am a master of PPT for presentation and this is just amazing
    Thanks for the laugh
    Now I need to see if there is something I could learn from you that could be useful for me

  • @85set05
    @85set05 Před 4 lety +57

    Here we are witnessing a dev going mad during social isolation.

    • @timgreller
      @timgreller Před 4 lety +11

      Social isolation? You mean normal life for a dev...?

    • @Fanaz10
      @Fanaz10 Před 4 lety +6

      @@timgreller lol OP accidentally exposed himself he's a normie

  • @rose52152
    @rose52152 Před 4 lety +1

    He has returned.

  • @0_-
    @0_- Před 4 lety

    This is the first video I saw of you!

  • @sadpotato714
    @sadpotato714 Před 4 lety +1

    I have absolutely no idea what's going on, but I like it

  • @woulg
    @woulg Před 4 lety

    huh, i didnt think i would ever find a video on youtube that i could accurately classify as "the best"... and yet here it is

  • @half_pixel
    @half_pixel Před 4 lety

    Tom you are a gem. :)

  • @TheRetrospective
    @TheRetrospective Před 4 lety

    Fantastic! 👏🏻☺️

  • @oniondev
    @oniondev Před 4 lety

    I make things on PowerPoint, Now that I saw this video I subscribed to your channel

  • @vanhuynguyen3892
    @vanhuynguyen3892 Před 4 lety

    Holy shit. This is genious. And crazy!

  • @igorradivojevic2260
    @igorradivojevic2260 Před 4 lety +1

    That is really amazing man, i think you should keep pursuing this! Also i wanted to ask you, did you perhaps try to run Crysis on it? :)

  • @M16A3ACOG
    @M16A3ACOG Před 4 lety

    Your scientists were so preoccupied with whether or not they could, they never stopped to think if they should.

  • @Pacca64
    @Pacca64 Před 4 lety

    Back in the day, i made a mizture of point and click adventure games and mouse dodging games. Glad to see powerpoint is still going strong :3

  • @RonSerruya
    @RonSerruya Před 4 lety

    Dude this is amazing

  • @liamshelley496
    @liamshelley496 Před 4 lety

    Absolute madlad

  • @m1lkweed
    @m1lkweed Před 4 lety +8

    Wow. I've been subscribed to both you and Tom7 and it wasn't until today that I realized you *aren't* the same person.
    I could tell because you use github.

    • @qwertyTRiG
      @qwertyTRiG Před 4 lety

      Who is this Tom7? I can't find a channel under that name.

    • @m1lkweed
      @m1lkweed Před 4 lety +1

      TRiG (Ireland) suckerpinch

    • @qwertyTRiG
      @qwertyTRiG Před 4 lety

      @@m1lkweed Thanks. I'll check the channel. If it's at all similar to this one, I'm interested.

    • @qwertyTRiG
      @qwertyTRiG Před 4 lety +1

      @@m1lkweed I watched his video about taking letters apart to make anagrams. Really good. Thanks.

  • @MapleMilk
    @MapleMilk Před 4 lety +1

    When you have to Program on PowerPoint for your Computer Science degree
    Thank this guy

  • @Kamilake
    @Kamilake Před 4 lety +1

    YOU ARE CRAZY.... I Subscribed you

  • @viniciuslambardozzi4358
    @viniciuslambardozzi4358 Před 4 lety +1

    Ohhh that sick JS burn is what I live for.

  • @eyemotif
    @eyemotif Před 4 lety

    i love this video so much

  • @NonTwinBrothers
    @NonTwinBrothers Před 4 lety

    Never change man....

  • @kerbonaut2059
    @kerbonaut2059 Před 4 lety

    The man, the myth the legend!

  • @vulpesaxis8494
    @vulpesaxis8494 Před 4 lety

    As a matemáticas engeenier i like the "theoretical" approach at the end

  • @unknown9274
    @unknown9274 Před 4 lety

    i absolutely love this

  • @Mecrom
    @Mecrom Před 4 lety

    I can not tell how serious you are

  • @ClainBill
    @ClainBill Před 4 lety +29

    People have made games like doom and (2D) Portal on calculators. I’m pretty sure a game is possible in power point

    • @stockicide
      @stockicide Před 4 lety +9

      Actually, people have already made games in power point. It's possible to make simple choose-your-own-adventure style visual novels, as well as games where you have to move your mouse cursor around obstacles to reach a button to click.

  • @FufuFang
    @FufuFang Před 4 lety

    I can't believe you are an undergrad. This is a quality work. I keep confusing you with Dr Tom Murphy, who went to CMU as well. You are both good comedians.

  • @joonasfi
    @joonasfi Před 4 lety +3

    Imagine my surprise when I didn't remember commenting on your video before, and I see my comment screenshotted at 0:15 mark ("can it run Crysis") 😁 Maybe it's a sign I watch too much CZcams..

  • @user-ds1pu2vc8s
    @user-ds1pu2vc8s Před 4 lety

    I couldn't resist, and yeah I'm here

  • @MiScusi69
    @MiScusi69 Před 7 hodinami

    This guy is gonna get famous!

  • @stoicfloor
    @stoicfloor Před 4 lety

    I'm not sure whether I should be impressed by your knowledge or your creativity lol

  • @nextProgram
    @nextProgram Před 4 lety +1

    I can't wait to play the first video game written entirely in powerpoint

  • @randomuwuploads
    @randomuwuploads Před 4 lety +1

    Constructive mathematicians were very sad about that final explaination

  • @llamazunited3
    @llamazunited3 Před 4 lety

    You should continue this beyond a simple april fools prank for more videos!

  • @sofia.eris.bauhaus
    @sofia.eris.bauhaus Před 4 lety +18

    0:34 :D

  • @androkon6920
    @androkon6920 Před 4 lety +2

    But does it (in fact) run the popular, and demanding video game from the year 2007, Crysis?

  • @Barsay
    @Barsay Před 4 lety +12

    Whe should call this C PowerPoint.
    in short CPP

  • @grahamjoss4643
    @grahamjoss4643 Před 4 lety

    Never stop

  • @devanshuvaidya8481
    @devanshuvaidya8481 Před 4 lety

    Really blows my mind off

  • @francescoejlli8985
    @francescoejlli8985 Před 4 lety

    U got my attention

  • @phineasg7709
    @phineasg7709 Před 4 lety

    I think you may be a god.

  • @arkhaic1792
    @arkhaic1792 Před 4 lety

    I understand none of this but still enjoy it.

  • @ozok17
    @ozok17 Před 4 lety

    "maybe not today, maybe not tomorrow. but someday, and for the rest of your life."

  • @diabl2master
    @diabl2master Před 4 lety +4

    0:33 lol yeah interest in PowerPoint has increased since it was released 😂

  • @loickgoma8067
    @loickgoma8067 Před 3 lety +1

    3 billion human lives ended on August 29th, 2077. The survivors of the nuclear fire called the war Judgment Day. They lived only to face a new nightmare: the war against the machines. The computer which controlled the machines, PowerPoint, sent two Terminators back through time.

  • @nextProgram
    @nextProgram Před 4 lety +4

    "Simulating a circuit in powerpoint is fairly easy"
    *Proceeds to do the most complicated thing I've ever seen*

  • @eduardodepaula3278
    @eduardodepaula3278 Před 3 lety

    You are a legend 😂😂😂

  • @ExplodingWaffle101
    @ExplodingWaffle101 Před 4 lety +1

    mouse boundary violation is the best error ever :D

    • @h.celine9303
      @h.celine9303 Před 4 lety

      Man, I really hope I remember this when writing exception handlers. Gotta easter egg that in.

  • @jortand
    @jortand Před 4 lety

    This is great

  • @TheRedEncryption
    @TheRedEncryption Před 4 lety

    Next: compiling and running humanity in PowerPoint

  • @reimuliascarlett774
    @reimuliascarlett774 Před 4 lety

    This is ridiculous but makes me really happy

  • @benjaminbrady2385
    @benjaminbrady2385 Před 4 lety +2

    I'm holding 🅱️ack tears... this video is so touching