I Tormented Humanity With *SPICY* Programming! - Human Resource Machine

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 307

  • @filiformis
    @filiformis Před rokem +377

    1:11
    This is literally an optimization technique real-life compilers employ when given a while loop. They turn it into a do-while and jump to the conditional. It's cool to see it show up here.

    • @flying-sheep
      @flying-sheep Před rokem +37

      There’s also the code size vs speed thing: Loop unrolling is great … unless you’re e.g. on a Nintendo 64 where loading code in is super slow and execution is fast, so you want to minimize instruction count instead.

    • @christopherg2347
      @christopherg2347 Před rokem +9

      @@flying-sheep "Which is faster?" from "Fabulous adventures in coding", Part 5:
      "Leaving the difference between best, worst and typical aside, there are all kinds of speed metrics. When I was working on Visual Studio Tools For Office we did comparatively little making the customization framework code _run_ faster because our tests showed that it typically ran fast enough to satisfy customers. But we did an enormous amount of work making the framework code _load_ faster, because our research showed that Office power users were highly irritated by noticable-by-humans delays when loading customized documents for the first time."

    • @inv41id
      @inv41id Před rokem +2

      @@christopherg2347 Neat quote but has probably little to do with micro-optimization of assembly.

  • @aa01blue38
    @aa01blue38 Před rokem +879

    This game is a perfect showcase of why you don't use goto when coding

  • @05Matz
    @05Matz Před rokem +82

    Honestly, this game is basically how someone's first exposure to assembly language _should_ be handled. It introduces all the basic concepts and the general 'style' such languages have, and how simple conceptually the execution of each instruction is, while also showing the difference between optimization for speed and for length, but also makes it slowly clear why it's a PAIN to do anything complicated in such a language. But it makes what's going on really... pleasantly tactile and clear, which a lot of existing methods definitely don't have.

  • @varthvarth
    @varthvarth Před rokem +193

    I just want to comment on how perfect the editing has been on this series so far. It can be very hard to follow people’s thought process on puzzles, but the visual representations of where the boxes will be placed is such a small but PHENOMENAL edition.

    • @silversoul21000
      @silversoul21000 Před rokem +4

      i actually kind of wish that'd be in the game ! would make my though process easier ingame !!!!

    • @lunarscapes6016
      @lunarscapes6016 Před rokem +13

      @@silversoul21000 well when you’re programming yourself, it’s way easier to just do it in your head, but it’s almost impossible for other people to follow your thought process, which is why this is great for a video, but no one would use it in-game

    • @madmaddog2114
      @madmaddog2114 Před rokem

      So true bestie

  • @Kanazuchi42
    @Kanazuchi42 Před rokem +164

    I must say as a software engineer you are doing a great job of explaining it. Once you hit multiplication I weep at you only having jumps 😢

    • @LoraLoibu
      @LoraLoibu Před rokem +2

      there were a couple levels that had multiplication

    • @redpepper74
      @redpepper74 Před rokem +1

      imagine this: prime factorization

    • @solsystem1342
      @solsystem1342 Před rokem +3

      ​​@@redpepper74 yep, that's one of the later ones.
      I hope you like resetting numbers to two and waiting for lots of addition and comparing to check factors.

  • @antantgaming7720
    @antantgaming7720 Před rokem +88

    The editor are making this series possible, huge props to them!

  • @gavinfeldman4743
    @gavinfeldman4743 Před rokem +50

    this is litterally my entire job, building simulation models for production systems. You would be a god so fast

    • @gavinfeldman4743
      @gavinfeldman4743 Před rokem +14

      u just lmk if this youtube stuff ever stops working out logic puzzles for years

    • @Deadlychuck84
      @Deadlychuck84 Před rokem +1

      Out of curiosity what is your job title?

    • @lorenzomaddalena7274
      @lorenzomaddalena7274 Před rokem +7

      @@Deadlychuck84 human resource manager

    • @gavinfeldman4743
      @gavinfeldman4743 Před rokem +4

      @@Deadlychuck84 Digital Twin Engineer

    • @rublie1426
      @rublie1426 Před rokem

      I think the editor actually cuts out most of the thinking time tyler uses. Although I do think that he is exceptionally fast, we are getting a little bit of a skewed view of his solving speed. I think something that would be interesting is a timer that is just always running on screen so you can see the time skips the editor makes.

  • @gizmosandgadgets5751
    @gizmosandgadgets5751 Před rokem +58

    Thinking further on this, this is essentially just assembly code.

    • @cyberneticsquid
      @cyberneticsquid Před rokem +16

      Yep that's the game's whole gimmick

    • @martinshoosterman
      @martinshoosterman Před rokem +6

      it seems like it's quite literally meant to be a turing machine

    • @infiniteplanes5775
      @infiniteplanes5775 Před rokem +5

      A Turing machine is much simpler and harder to program though

    • @gizmosandgadgets5751
      @gizmosandgadgets5751 Před rokem +16

      @@cyberneticsquid well I mean that it’s not really a higher level language or machine code, it’s pretty much just assembly code. Conditional and non-conditional jumps, extremely limited amounts of temporary variable storage, only simple addition and subtraction allowed, the type of programming this is almost 1 for 1 for is assembly code.

    • @gizmosandgadgets5751
      @gizmosandgadgets5751 Před rokem +6

      @@martinshoosterman I wouldn’t say it’s a Turing machine as those are moreso state machines, whereas this is variable and command based. (Yes I know any program can be represented by a turing machine but you know what I mean).

  • @TheYeetedMeat
    @TheYeetedMeat Před rokem +148

    My dearest Tyler, who’s videos I enjoy most wholeheartedly:
    I am alarmed to behold it appears that the code with which you’ve started this exercise could execute prior to the enactment of further code! This distresses me deeply and I’ve returned to my fainting couch. I do hope you rectify this mistake.
    Forever yours,
    An average Aliensrock commenter.
    you have been bamboozled.

    • @legitelf0058
      @legitelf0058 Před rokem +20

      im sorry it is late and i had 56 strokes while trying to read this. Can you please put it in an easier language?

    • @arcanelizard4646
      @arcanelizard4646 Před rokem +28

      @@legitelf0058 “But Tyler, won’t this code execute right at the beginning if I start it?”
      -Tyler

    • @legitelf0058
      @legitelf0058 Před rokem +10

      @@arcanelizard4646 thank you
      i still managed to have a stroke reading yours but it is much better

    • @v1b3z77
      @v1b3z77 Před rokem +14

      @@legitelf0058 I would wholeheartedly advise you to meet a medical professional if the symptoms persist.

    • @legitelf0058
      @legitelf0058 Před rokem +4

      @@v1b3z77 Did you know that i am the guy in the thumbnail
      Tyler has not let me see my family for 23 years
      I have not gotten of work since my sin turned 5

  • @Pikachuuun
    @Pikachuuun Před rokem +5

    if you're aiming for full 100%, i'll point out that there's a "gottem" all the way at the beginning that's very easy to miss; they have challenges as well, and one of them will never be fully satisfied at first due to the nature of it
    just figured i'd give the heads-up! as someone who played this gsme to completion i'm loving this series

  • @pascalthecurator3368
    @pascalthecurator3368 Před rokem +43

    I feel like series like this require all my brainpower to follow, perfect for putting me to sleep from overwork.

  • @kman6004
    @kman6004 Před rokem +33

    God I can’t wait to see how Tyler fairs against the hardest puzzles in this game

    • @nadie9058
      @nadie9058 Před rokem +15

      Well, he studied computer science or something similar so i expect he will be able to finish it. It could still end up being hard though.

  • @christopherg2347
    @christopherg2347 Před rokem +2

    These challenges are where you have to use different code for the Size and Speed challenges.
    The are also showing the issue of doing such a low level of programming - even a simple 0 check, conditional number swap and FOR loop is a huge amount of jumps.

  • @polmarcetsarda
    @polmarcetsarda Před rokem +4

    You might want to play Shenzhen I/O! It's from the Zachtronics team, and it's pretty similar to this game, but with circuitry in addition to programing. You have played a game from this team I think, 20th century food court

    • @SteamyBlizzard
      @SteamyBlizzard Před rokem +1

      Or just TIS-100 which basically IS this game just more complicated haha

    • @polmarcetsarda
      @polmarcetsarda Před rokem

      @@SteamyBlizzard i did not like that one as much, I found the mix of placement strategy and code. Admittedly, I did not play that much as much.

    • @SteamyBlizzard
      @SteamyBlizzard Před rokem

      @@polmarcetsarda Fair, i also admittedly burned out. Might try out Shenzhen tho

  • @matyasoujezdsky6534
    @matyasoujezdsky6534 Před rokem +5

    The editing is absolutely awesome. Not only this video, but previous also. I love the help for following Tyler's explanation and I love when there's a little personality of the editor.

    • @RREEJJEECCTTEEDD
      @RREEJJEECCTTEEDD Před rokem +1

      I didn't even realise the boxes were edited in until i read this

  • @taliru8846
    @taliru8846 Před rokem +9

    very good editing
    fun to see a math person doing these harder puzzle games counter to let's players

  • @John_does
    @John_does Před rokem +6

    The editing definitely helps explaining things, really enjoying this

  • @Shlarp42
    @Shlarp42 Před rokem +99

    Imagine not torturing office workers

  • @neverfail9432
    @neverfail9432 Před rokem +1

    This is what it feels like to code in assembly. Your registers are on the floor, you have jumps, copy to and from, and your stack pointer is whatever is in your hands.

  • @cineblazer
    @cineblazer Před rokem +15

    Tyler, you're doing an excellent job explaining, *especially* combined with the amazing work your editors are doing. I'm thoroughly enjoying this series so far and look forward to seeing more of it!

    • @SeymourDisapproves
      @SeymourDisapproves Před rokem +2

      Agreed, everyone has been at the top of their game lately. These videos are super engaging!

    • @cineblazer
      @cineblazer Před rokem +1

      @@SeymourDisapproves The average video quality really took a huge step up after Tyler hired a second editor. Just goes to show how much better people perform when they have a balanced workload and a chill boss (making the assumption that Tyler is a chill boss, bc he gives off those vibes)

  • @evanj3860
    @evanj3860 Před rokem +2

    If you beat this game, you should try 7 Billion Humans. It's basically the sequel to this game

  • @xicufwm
    @xicufwm Před rokem +1

    Game: here are some LABELS you can use
    Tyler: nah, the editors can explain what each of these things is doing.
    Me: thank you, editors!

  • @comp.lex4
    @comp.lex4 Před rokem +17

    I'm pretty sure starting with a jump is never faster/shorter; it's either the same as or worse than if you rearranged it a little bit. A couple of Tyler's optimizations actually involved making this change partway through. Could just write the code more linearly in the first place, but y'know, whatever gets him there in the end

    • @iamrepairmanman
      @iamrepairmanman Před rokem +1

      Starting with a jump is usually pretty good in this game, locality is important

    • @JaborWithaY
      @JaborWithaY Před rokem +19

      It's never shorter, but it can be faster. Typically, by doing this optimization you remove a jump that happens once for each input, and replace it with a jump that happens just once in total, saving a few cycles overall.

    • @rendomstranger8698
      @rendomstranger8698 Před rokem +1

      Nope. Starting with a jump is the equivalent of putting an "if" block in the code. With only jump statements, the only other way to add an "if" block to the code is by using 2 jump statements. It saves both space and steps to have the if block naturally flow into the normal code instead of needing a jump statement to terminate it.

  • @iroegorchannel9335
    @iroegorchannel9335 Před rokem +7

    Sleep: No
    Watch Tyler doing C. O. D. E.: Yes

  • @andrewjhec1623
    @andrewjhec1623 Před rokem +1

    your editor is amazing. its a lot of fun watching this series, thanks

  • @Sam-pm9vy
    @Sam-pm9vy Před rokem +2

    The editing in this to show the thought process really makes the video

  • @HalfBoyHalfGod
    @HalfBoyHalfGod Před rokem +3

    You've been doing a great job explaining it, Tyler. The editor's visuals help a great deal too

  • @SrKing-dm4ku
    @SrKing-dm4ku Před rokem +3

    being a puzzle youtuber is an uphill battle, glad you're a great editor!

    • @cyberneticsquid
      @cyberneticsquid Před rokem +1

      Tyler isn't the editor, he's paying people to do it

    • @maicee7603
      @maicee7603 Před rokem

      can you recommend me other great puzzle youtuber please?

  • @maddermax22
    @maddermax22 Před rokem +1

    When he says “this game just got difficult”, he’s not wrong, I can remember playing through this a few years ago and there’s a real difficulty jump between the early levels, which are mostly pretty straight forward and mid/late levels, which can involve very convoluted code.

  • @R3lay0
    @R3lay0 Před rokem +3

    This game is the programmer equivalent of a truck driver going home and playing Euro Truck Simulator.

  • @giaxo1739
    @giaxo1739 Před rokem +3

    My dearest Tyler, who's videos I enjoy most wholeheartedly:
    I am alarmed to behold that it appears the code with which you've started this exercise could execute prior to the enaction of further code!
    This distresses me deeply and I've retreated to my fainting couch. I do hope you rectify this mistake.
    Forever yours,
    Someone who thinks he's funny

  • @user-hi8jv6cw8n
    @user-hi8jv6cw8n Před rokem +2

    My dearest Tyler who's videos I enjoy most wholeheartedly:
    I am alarmed to behold that it appears the code with witch you've started this exercise could execute prior to the enaction of the further code!
    This distresses me deeply and I've retreated to my fainting couch. I do hope you rectify this mistake.
    Forever yours,
    An average Aliensrock commenter.

  • @ArcheoLumiere
    @ArcheoLumiere Před rokem +7

    That sign check level is absolutely cheeseable

    • @peterpeladon
      @peterpeladon Před rokem +13

      If you cheese it, the game will actually detect it and give you a new set of data that the cheese won't work with, then tell you to do it better. Fantastic game. :)

    • @RealQuarlie
      @RealQuarlie Před rokem +11

      There are hidden checks, that's why the final result also says "average"... it's basically doing hundreds of other levels in the background and checking if your code would work on them

    • @voxelrifts
      @voxelrifts Před rokem +1

      @@peterpeladon Ah lol I *was* wondering what would happen if someone cheeses it

    • @diablo.the.cheater
      @diablo.the.cheater Před rokem +1

      @@voxelrifts the game comes with build in unit tests

  • @mattdunn7434
    @mattdunn7434 Před rokem

    I played this game forever ago and love that I can revisit it like this

  • @chessguyplays
    @chessguyplays Před rokem

    Ngl the editing makes it so much easier to follow your explanations. Very helpful and much appreciated.

  • @ShadowViewsOnly
    @ShadowViewsOnly Před rokem +2

    Yay this game was not a one time wonder for you.
    Hope you actually finish it.. :)
    Cuz its a great game. I wish the devs did even more of this and 7 Billion Humans.

  • @simonepolo2388
    @simonepolo2388 Před rokem +1

    0:04 Papers Please lezzgooo

  • @cobblestonetree2093
    @cobblestonetree2093 Před rokem +2

    Great job with the edits they really tie the video together

  • @person420
    @person420 Před rokem +4

    Is it just me or does Tyler look good balding with blue hair

  • @asupremetab1617
    @asupremetab1617 Před rokem +1

    Thank you for the video Tyler and editors! I may not understand a lick of it but I am definitely entertained!

  • @TristahnDaFunnyMan
    @TristahnDaFunnyMan Před rokem +1

    This game deserves to return

  • @flockofwingeddoors
    @flockofwingeddoors Před rokem

    Man, props to the editor for making this a super interesting watch!

  • @redpepper74
    @redpepper74 Před rokem

    I played this game like 4 years ago and loved it, it was a great introduction to low-level programming. Hope you enjoy it (and maybe even play the sequel!)

  • @roccolucente6152
    @roccolucente6152 Před rokem

    puzzle at 1:43 could've been cheesed considering every pair of inbox items had different signs
    inbox > inbox > copyfrom 5 > outbox > jump to start

    • @killereks
      @killereks Před rokem +2

      Nope, game does checks in background to make sure it works on all random inputs

  • @simonhansson4115
    @simonhansson4115 Před rokem

    My brain has stopped functioning trying to compute all this clearly logical code.

  • @davideisenberg4735
    @davideisenberg4735 Před rokem

    holy crap the editing is amazing, it does a great job showing the logic being shown!

  • @allie-ontheweb
    @allie-ontheweb Před rokem

    "take it up with your SCRUM master" ahaha im dead

  • @realdragon
    @realdragon Před rokem +1

    It could be vastly sped up. For example "Pick 1 five times and put it in outbox"

  • @Creepaminer
    @Creepaminer Před rokem +1

    THE EDITORS COMMENT HAD ME DYING

  • @Acoolaccountmans
    @Acoolaccountmans Před rokem

    i love the attention to detail in the papers please shot, his name is ROCK, ALIENS

  • @mikelezhnin8601
    @mikelezhnin8601 Před rokem

    I could follow, but tbh Tyler could say complete gibberish and I would still enjoy listening.
    Also, if I recall it correctly, this game gets real wild when you get mutiple workers at once, so I hope the series continue.

  • @rubix4716
    @rubix4716 Před rokem

    I want to see more of this, please!

  • @dhi_holo
    @dhi_holo Před rokem

    As a non-coder, but someone who can understand it (just not do it), you're doing a great job explaining it

  • @Monkotzoo
    @Monkotzoo Před rokem +2

    After having watched this video thrice I can say. Certified tyler classic

  • @henke37
    @henke37 Před rokem +2

    Your editor is doing a fantastic job as usual. But... it's more charming if you write your own labels in game.

  • @danielchan1668
    @danielchan1668 Před rokem

    Puzzle game? Reminder to finish Devil's calculator

  • @incongruouschameleon8200

    The very first solution could have been done in 7 lines. The cop to and subtract commands would not work, because no number would be on hand from the outbox. This was a fun video though. : )

  • @Orblets
    @Orblets Před rokem

    Very fun to watch! Defs need more of this

  • @brysonsmith1523
    @brysonsmith1523 Před rokem

    big fan of the exclusive or level being called “exclusive lounge”

  • @matthias916
    @matthias916 Před rokem

    please finish this game, loving it

  • @rublie1426
    @rublie1426 Před rokem +1

    Although I do think that Tyler is exceptionally fast at solving these puzzles, we are getting a little bit of a skewed view of his solving speed due to the cuts in the video. I think something that would be interesting is a timer that is just always running on screen so you can see the time skips the editor makes.

  • @AubreyMK
    @AubreyMK Před rokem +1

    I feel like coding games are just for fellow game makers and the rare smart person

  • @0vercast403
    @0vercast403 Před rokem +1

    I remember this game. Mainly the ridiculous jump in difficulty between the second last level and the last level (I think it’s Sorting Facility).
    Not sure how I got that far, as when I played it recently I got stuck at around 26 or something.

  • @mina-tarahelena2478
    @mina-tarahelena2478 Před rokem

    I can't wait for you to finish this them move onto 7 Billion Humans

  • @slylecias3274
    @slylecias3274 Před rokem +2

    finally a relatable video

  • @fruxo2000
    @fruxo2000 Před rokem +5

    No part 3? :(

  • @acidicabsurdity3179
    @acidicabsurdity3179 Před rokem

    If you haven't already, you should check out Little Inferno made by the same people.

  • @samt6862
    @samt6862 Před rokem +1

    Love this series

  • @mariox204
    @mariox204 Před 2 měsíci

    3:25 idea, just sends 1

  • @wydx120
    @wydx120 Před rokem

    Going from here, the only thing that gets more program-y are all those Zachtronics' puzzle games lmao

    • @diablo.the.cheater
      @diablo.the.cheater Před rokem

      tbh you can't get more programmy than HRM, this is basically just straight up assembly but with a very cute IDE

  • @Travminer123
    @Travminer123 Před rokem

    That intro made me chuckle. Thx editor

  • @Kevin-sx8wh
    @Kevin-sx8wh Před rokem

    The editing this video was insane.

  • @SR_Somegames
    @SR_Somegames Před rokem

    My dearest Tyler who's videos I enjoy most wholeheartedly:
    I am alarmed to behold that it appears the code with which you've started this exercise could execute prior to the enaction of further code!
    This distresses me deeply and I've retreated to my fainting couch, I do hope you rectify this mistake.
    Forever yours,
    An average time waster 💀

  • @bobinard9759
    @bobinard9759 Před rokem

    i loved playing this game, but my god it gets hard near the end, especially in it's sequel 7 billion human, it is insane

  • @AJMansfield1
    @AJMansfield1 Před rokem

    Editor really knocking it out of the park on these!

  • @denzy3929
    @denzy3929 Před rokem +1

    This game is the epitome of spaghetti code

  • @mistypeaks1375
    @mistypeaks1375 Před rokem

    As a 2nd year in computer Engineer the restrictions really work out your brain compared to a higher level language where you can do everything simplier and easier.

  • @lingocenter3722
    @lingocenter3722 Před rokem +2

    I know the code wouldn't work as far as actually detecting anything, but could year 17 have been beaten by cycling 4 ones to the outbox? Or does the game have a safeguard for that?

    • @santiagovidelaleiva
      @santiagovidelaleiva Před rokem +1

      I have played the game, and yes, the game has a safeguard.
      It basically says to you, "you may have solved this arrangement of numbers, here's another you can't solve".
      What is kinda cool, is that for the following tests the new set is in place, so you have solve it correctly.

    • @VisibleReality
      @VisibleReality Před rokem +4

      Internally, the game checks the solution on many different inputs, and if any of them fail, it changes to show you a set of inputs that your code doesnt work with and asks you to try again

    • @nadie9058
      @nadie9058 Před rokem

      It tests with different sets, you only see one but in the background the game runs multiple ones. If you did that the lady would yell at you saying your solution works only for that dataset but not others, and then proceed to give you one in which it doesn't work.

  • @allisonfeng1779
    @allisonfeng1779 Před rokem +3

    Art style is the exact same as World of Goo... is it the same dev?

    • @cineblazer
      @cineblazer Před rokem +6

      Yep! Same people.

    • @jmr5125
      @jmr5125 Před rokem

      Yes.

    • @allisonfeng1779
      @allisonfeng1779 Před rokem

      Lol took me too long to realize this is not the first ep of this series... Tyler even mentioned World of Goo at the beginning for the (actual) 1st ep XD

  • @gardy1385
    @gardy1385 Před rokem

    Now we need Tyler to play AntiChamber

  • @Chadwicktrumpet
    @Chadwicktrumpet Před rokem

    Career goals achieved code and game at the same time. #multitasking

  • @andipandabear1
    @andipandabear1 Před rokem

    WIDELER IS BACK

  • @jonsparks3430
    @jonsparks3430 Před rokem +1

    The papers please scene is to good

  • @Nyancat_playz
    @Nyancat_playz Před 9 měsíci

    i actually have this at home :)
    i actually forgot about it until this.

  • @henrystickmin8812
    @henrystickmin8812 Před rokem

    This game is peak perfection

  • @garythenoobie4802
    @garythenoobie4802 Před rokem

    Guys just letting you know the WIDE TYLER jumpscare is at 0:59

  • @Igorious92
    @Igorious92 Před rokem

    I love spaghetti! Very nice code :P

  • @andylee1802
    @andylee1802 Před rokem

    Love Tyler’s notes. The poor handwriting is funny

  • @zPieEater
    @zPieEater Před rokem

    Wide Tyler has returned. 🙆‍♂️

  • @funguy3259
    @funguy3259 Před rokem

    Hope you play 7 billion humans as well

  • @marcusarygmail
    @marcusarygmail Před rokem

    Dude your content is great! Wonder if your live stuff is just as entertaining?

  • @abdullahajeebi
    @abdullahajeebi Před 2 měsíci

    wait until he sees assembler

  • @godrel6177
    @godrel6177 Před rokem +2

    This seems interesting, im going to go watch the first part now

    • @cineblazer
      @cineblazer Před rokem +1

      It's a fantastic game, and the difficulty curve is pretty intense too. Tyler's keeping his brain busy coming up with explanations and his editors' brains busier finding ways to visualize them!

  • @Hanmacx
    @Hanmacx Před rokem

    Please do "Little Inferno" too

  • @xicufwm
    @xicufwm Před rokem

    5:18 oh, the character is actually balding! Will he work all the way to old age and die of a heart attack while coding, before his deserved retirement? Only way to know is if Tyler keeps this series to the end.

  • @Festivogamer
    @Festivogamer Před rokem

    you should try little inferno, its from the same devs as this game

  • @TheAdhdGaming
    @TheAdhdGaming Před rokem

    wait til he realizes he can use "sub" to ask for subscribers itll be so funny haha

  • @Stevedawhoop
    @Stevedawhoop Před rokem

    The editor is the real MVP here

  • @Deadlychuck84
    @Deadlychuck84 Před rokem

    I'm going to sleep so won't put too much time into this, but on year 17, since this is basically just assembly programming, there might be a more efficient way to do it if you make a multiplication function with adds and just do a single sign check of the first input, then multiply them and check the resulting sign +/- sign.
    Might be wrong since it's not true binary and the multiplication operation in binary can be done a bit more elegantly with addition than base 10.
    Too much thinking for sleepy head right now

  • @eduarddlabola9688
    @eduarddlabola9688 Před rokem +1

    4:56 Does it secretly test your program on more examples, or would it pass if you just had something, that sends "1" four times?

    • @mart3323
      @mart3323 Před rokem

      It does, it will then tell you what example it failed on and let you use that for your next simulation

    • @eduarddlabola9688
      @eduarddlabola9688 Před rokem

      @@mart3323 Good, I expected that but I still wanted to ask.