32-bit Computer Inside Terraria? | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • Recorded live on twitch, GET IN
    / theprimeagen
    Reviewed video: • I Made a 32-bit Comput...
    Channel: From Scratch | / @built-from-scratch
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
    Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
    turso.tech/dee...

ความคิดเห็น • 642

  • @SaHaRaSquad
    @SaHaRaSquad ปีที่แล้ว +2457

    "The problem with programmers is that, given the opportunity, they will start programming"

    • @Yotanido
      @Yotanido ปีที่แล้ว +142

      It's absolutely true. Every time I find a game that has some kind of modding support... I just can't help it

    • @zyriab5797
      @zyriab5797 ปีที่แล้ว +80

      Spent my 1 week vacation working on a PR translating a 2015 JS lib into modern TS and then deleted it today.

    • @ColinTimmins
      @ColinTimmins ปีที่แล้ว +16

      @@zyriab5797At least you took care of it while you had it. 😢 =]

    • @variancewithin
      @variancewithin ปีที่แล้ว

      @@zyriab5797stop deleting stuff :(

    • @Stay_away_from_my_swamp_water
      @Stay_away_from_my_swamp_water 11 หลายเดือนก่อน +9

      Just not too much opportunity. if you give them too much they're not gonna do it. Now I have 12 h to build a website and set up a server to run it. wish me luck.

  • @capsey_
    @capsey_ ปีที่แล้ว +1223

    He made a CPU in Terraria AND touched grass, that's some serious dedication

    • @greeniet87
      @greeniet87 7 หลายเดือนก่อน +2

      did you notice he only touched grass in the beginning... if i know anything about this world, if not for a video, thats the last time he will ;)
      still mad respect for the dedication and knowledge of low level stuff at such a young age

    • @jonapoka7109
      @jonapoka7109 5 หลายเดือนก่อน

      Why do you watch content which directly steals from smaller creators that only benefits the reactor. Why do you support this?

    • @scottyrz
      @scottyrz 3 หลายเดือนก่อน

      defection

  • @rumplstiltztinkerstein
    @rumplstiltztinkerstein ปีที่แล้ว +1080

    Developer: I want to apply to your company.
    Company: We can't hire you because you are too young.
    The developer:

    • @declspecl
      @declspecl ปีที่แล้ว +43

      @@StellarRootsGames also as a young programmer, i think we all need to remember to stay humble and be aware of the scope of our knowledge. this isnt targeted towards you of course, but in meeting with a lot of other young programmers, ego is rampant and creates a really toxic cycle of competition that is centered around age. you ofc have alternative motives since youre like advertising the game (congrats btw) but i think its really important to remember to be humble and lets be the ones to fight against the stressful precedent nowadays :D
      also it totally looks like im just dogging on you but i have just had this stuff on my mind for a long time and this video/comment reminded me of it

    • @konodioda8689
      @konodioda8689 ปีที่แล้ว +3

      @@StellarRootsGames I mean, the age might not a factor in your case. Maybe your game is just bad

    • @ttred7621
      @ttred7621 ปีที่แล้ว

      @@declspeclyup, and take a look at guys like John Carmack. He wrote some of the first ever 3D graphical video games and he’s the most humble dude ever

    • @rumplstiltztinkerstein
      @rumplstiltztinkerstein ปีที่แล้ว +13

      @@declspeclI am old and I'm a piece of s*it. I don't understand how ThePrimeagen manages to push "thousands" of lines of code every day. Specially when it comes to Rust. I'm basically dying writing low level bit-wise computations right now.

    • @shu3684
      @shu3684 ปีที่แล้ว +1

      @@rumplstiltztinkerstein i feel ya, youre not alone :D

  • @basione
    @basione ปีที่แล้ว +1105

    That kid has a bright future. Mad respect!
    And it's always a pleasure seeing Terraria get some attention.

    • @H4KnSL4K
      @H4KnSL4K ปีที่แล้ว +5

      Well said! I wholeheartedly agree.

    • @eVmedien
      @eVmedien 9 หลายเดือนก่อน

      I hope he gets laid soon...

    • @tomwallen7271
      @tomwallen7271 3 หลายเดือนก่อน +2

      Intel better be in his DM's right now.

    • @_The_Traveler_
      @_The_Traveler_ 3 หลายเดือนก่อน +1

      I feel like bro is _from_ the future lol

  • @AScribblingTurtle
    @AScribblingTurtle ปีที่แล้ว +700

    It's like a law of the universe or something.
    "If you give people the ability to build basic logic gates, there will be someone building a computer"
    The Law that follows is, "Someone will try to port Doom to it".
    There is something beautiful about a project like this. It's raw, unadulterated and honest.
    I've recently seen a video about how an electromechanical Jukebox from the 1970s or 80s did its logic.
    And holy 💩, how did we get from something so direct and simple to not even being able to heat our car seats without paying subscriptions to someone somewhere?

    • @TheSulross
      @TheSulross ปีที่แล้ว +1

      the most basic operating principle of the universe is inflection

    • @robonator2945
      @robonator2945 ปีที่แล้ว +15

      I'm more shocked he didn't make it play badapple.

    • @nadie9058
      @nadie9058 ปีที่แล้ว +5

      A fellow Technology Connections enjoyer?

    • @AScribblingTurtle
      @AScribblingTurtle ปีที่แล้ว +3

      ​@@nadie9058 Yep, his channel is a treasure trove of strange knowledge and ancient technology and I love it. A bit like a technology museum, but much livelier.

    • @itsmeshteve
      @itsmeshteve ปีที่แล้ว +2

      Back in 2002 in high school, we played Mario and even DOOM on our TI-83 calculators. So, anything is possible.

  • @homelessrobot
    @homelessrobot ปีที่แล้ว +226

    my whole interest in electronics and computers is rooted in a previous obsession with witchcraft and aliens. So yeah, its magic.

    • @SystemAlchemist
      @SystemAlchemist ปีที่แล้ว +20

      Similar with me!
      Programming is basically creating magic incantations to bend the spirits inside the machine to ones undying will.
      I highly recommend the SICP Book or Lecture by Hal Abelson and Gerald Jay Sussman.

    • @catocall7323
      @catocall7323 ปีที่แล้ว +5

      I might have traveled the same twisty path as you.

    • @heinrichagrippa1259
      @heinrichagrippa1259 ปีที่แล้ว +7

      Absolutely yes. I like managing a managerie of daemons and golems.

    • @JM-yz6zb
      @JM-yz6zb 11 หลายเดือนก่อน +5

      I just started reading a programming textbook that likened it to learning sorcery. I was like, holy shit. It IS like that. And its so much more motivating than the textbooks that just recite syntax the entire time.

    • @SystemAlchemist
      @SystemAlchemist 11 หลายเดือนก่อน +2

      @@JM-yz6zb
      What's it called?

  • @Beastintheomlet
    @Beastintheomlet 7 หลายเดือนก่อน +36

    Ok I was impressed with CPU building and all that but when he hit the point where “the game engine engine couldn’t handle it so I rewrote it” I just started laughing.

  • @fredericbrown8871
    @fredericbrown8871 ปีที่แล้ว +68

    Me in circa 2007: I just made an adder using Digital Works Circuits for my Internal Systems course assignment, so the obvious next step is to just call it a day and work on my C++ assignment tomorrow...
    That guy: I just made adders and multipliers in a game that's not really designed to do much complex circuits, so the obvious next step is to make a complete implementation of the RISC-V ISA.
    I could SO relate with what you said in intro!

    • @justyahz796
      @justyahz796 5 หลายเดือนก่อน +1

      circa works better without conjunctions like in and but without. try it like this: ‘Me, circa 2007:blah blah blah’

    • @fredericbrown8871
      @fredericbrown8871 5 หลายเดือนก่อน

      @@justyahz796 Thanks.

  • @roccociccone597
    @roccociccone597 ปีที่แล้ว +30

    Ok maybe I should just work at McDonalds, I clearly can't program... This kid just made me feel like a neanderthal

  • @Sondelll
    @Sondelll ปีที่แล้ว +136

    The storytelling abilities of this damn kid too, geez, absolutely amazing

  • @kirkanos771
    @kirkanos771 ปีที่แล้ว +38

    The guy using powerpoint as an IDE was already insane to me. This got to another level.

  • @TheViperZed
    @TheViperZed 3 หลายเดือนก่อน +3

    You get a lot of "I built a computer in weird way xyz" these days, and honestly having done it myself in a few games, not as complicated as you might think. Then the video pulls up the RISC-V ISA and it was difficult to not loose my coffee through my nose. Hats off, that's really very, very impressive.

  • @seanemery6019
    @seanemery6019 11 หลายเดือนก่อน +12

    I absolutely love this kid. I can't wait for him to get to his first interview and show off his creations. They're going to be falling over themselves to hire him.

  • @mxlje
    @mxlje ปีที่แล้ว +19

    Have you watched the 8-bit series by Ben Eater? It’s mind boggling to think about the complexity that is involved in the tools we have today.

    • @ilude_
      @ilude_ ปีที่แล้ว +1

      elements of computing systems Noam Nisan for understanding the basic building blocks and how they fit together to make up the cpui

    • @skilz8098
      @skilz8098 9 หลายเดือนก่อน

      I've watched his series 2 or 3 times and I've implemented his 8-Bit CPU in Logisim and can actually run his OPCODES. Not just Ben Eater, a bit different, but javidx9 has a series with his C++ OLC Engine where he walks you through building a 6502 (NES) Emulator! Emulators are harder than making the actual CPU! Both Series are great, and to complete the Trio we have to included 3Blue1Brown! Now a few other asides for a bit of extra flavor we can add Jason Tuner's C++ Weekly for good programming practices as well as The Cherno. There's a few others, but these are the most noteworthy for good educational purposes!

  • @luisloyola3591
    @luisloyola3591 8 หลายเดือนก่อน +5

    i gona say it, because this is literaly the best example of how human well educated, well eat, with amoun of resources (love, inspiration, educated family) can do a amazin stuff just for fun.

    • @masterchief1520
      @masterchief1520 5 หลายเดือนก่อน +3

      Ultimately you need undying passion. No matter the circumstances.

    • @kettelbe
      @kettelbe 3 หลายเดือนก่อน

      ​@@masterchief1520conditions are needed. A starved somalian child wonr do that. Sadly.

  • @u9vata
    @u9vata ปีที่แล้ว +8

    What is even better than this is the guy who made 16 bit CPU with only 8 basic TTL-like chips and memory... Very slow, but real CPU - many in the 80s would have been so happy for that thing as it would have been cheap to assemble home small computer in times CPUs were so expensive... This also came out lately on hackaday. I like how this guy did not just and-or gate it all, but use this stateful block too.
    All of these are real cool deeds ;-)

    • @ontheballcity71
      @ontheballcity71 ปีที่แล้ว

      Ben Eater? His projects are fun.

    • @u9vata
      @u9vata ปีที่แล้ว

      @@ontheballcity71 I think it was not Ben Eater, but some other guy. Search for "16 bit CPU 8 chips" on google. It is on youtube for "Jiri Stephanovsky" or under similar name... Ben Eater is cool too - just this literally only use 8 chips for the whole CPU!!!

  • @madimakes
    @madimakes ปีที่แล้ว +3

    "From Nand to Tetris" was a legendary class that got me understanding where he was going from the jump...you can make a computer from *anything* that go 0 1! This kid's brilliant and an insane attention to detail

  • @juniordevmedia
    @juniordevmedia ปีที่แล้ว +41

    I don't know man, i mean, Tom could do all this in like 30 minutes max, cuz he's a genius.

    • @roccociccone597
      @roccociccone597 ปีที่แล้ว +12

      obviously he'd impelement JDSL in Terraria too

    • @TheNewton
      @TheNewton ปีที่แล้ว +2

      well yeah cuz JDSL has templating and does bi-directional result caching.
      First 5 minutes all the adders are built scaled and then the next 5 minutes builds the mode to solve the wire update problem.

  • @usakadam
    @usakadam 11 หลายเดือนก่อน +3

    fun fact: The guy played a little bit of Terraria(8372 hours) before he started creating a computer in Terraria

  • @johnbruhling8018
    @johnbruhling8018 7 หลายเดือนก่อน +3

    The magic oscillating crystal is neat! Its literally like an ultra-tiny, quartz tuning fork inside the little can.

  • @Archsage
    @Archsage หลายเดือนก่อน

    11:39
    When you started talking about hitting buttons a million times a second, I saw the meme of the hand hitting the button super quick 😂

  • @SurvivalGamingyt
    @SurvivalGamingyt ปีที่แล้ว +15

    This player is smarter than that 17yr/o "software engineer" from a video you showed

  • @Dev-tf2bx
    @Dev-tf2bx 15 วันที่ผ่านมา +1

    This might be prime's first ever video when i know more than him !
    man it feels sooo goooood

  • @gtgunar
    @gtgunar ปีที่แล้ว +7

    I don't have impostor syndrme... I'm working on my own data structure right now.

    • @guigs4467
      @guigs4467 ปีที่แล้ว +2

      Not me chanting "I don't have impostor syndrome" like a madman while struggling with CMake yesterday:

    • @vaisakhkm783
      @vaisakhkm783 ปีที่แล้ว +3

      I don't have imposter syndrome, i am doing HTML programming now

  • @RenderingUser
    @RenderingUser ปีที่แล้ว +6

    damn
    and i thought i was epic for building an 8 bit adder inside minecraft
    oh btw, can we get a reaction to a minecraft supercomputer next?
    ive seen some of em being able to compute graphs

    • @dalmationblack
      @dalmationblack 7 หลายเดือนก่อน

      someone finally properly made minecraft in minecraft pretty recently, the computational redstone scene is insane
      (they also have their own mod that does more or less what the mod for terraria does with wiring but for redstone)

  • @sacredgeometry
    @sacredgeometry ปีที่แล้ว +15

    10:00 Quartz is used in watches because it oscillates at a stable frequency of exactly 32,768 times each second when electricity is passed through it. You then measure the vibrations using a digital frequency counter and bobs your uncle you have a reliable clock.
    en.wikipedia.org/wiki/Crystal_oscillator#:~:text=Quartz%20crystals%20are%20manufactured%20for,radios%2C%20computers%2C%20and%20cellphones.

    • @jonathanprivitera9394
      @jonathanprivitera9394 ปีที่แล้ว

      Cool! Thanks for the link

    • @mitchelvalentino1569
      @mitchelvalentino1569 ปีที่แล้ว +4

      Yesss. It’s all about the crystals. In watches, in computers, in everything. I remember changing the crystal in a Radio Shack Tone dialer to make a Red Box, because I never had a Captain Crunch Whistle. Phreaky days. Best way for a kid to call Nintendo of Japan from a payphone back in the 80s. Mowing lawns for allowance money was to pay for games, not to pay Ma Bell’s overseas charges. Crystals run the world.

    • @Anon.G
      @Anon.G ปีที่แล้ว +1

      Piezo electric

    • @sacredgeometry
      @sacredgeometry ปีที่แล้ว

      @@Anon.GYup

    • @-wokhead
      @-wokhead ปีที่แล้ว +1

      Exactly 2^15? Wow what a coincidence

  • @MarcCastellsBallesta
    @MarcCastellsBallesta ปีที่แล้ว +4

    I sometimes see genius stuff and my brain goes "I want to be like him".
    In other cases i see genius things and I feel like an ant carrying bread crumbs to the nest for a reason I don't know while.

  • @animatormusic417
    @animatormusic417 ปีที่แล้ว +4

    This is the son of my mothers friend that I constantly was hearing about through my childhood :D

  • @mojolotz
    @mojolotz 2 หลายเดือนก่อน

    Imagine the clock that "oscillates" as a bucket that turns over once full and empties itself, then turns back up again.
    The water is electricity and you just feed it a stable stream of electricity, so that it turns over at predictable rates, dumping the electricity into the computer.

  • @GRHmedia
    @GRHmedia ปีที่แล้ว +2

    I'm an X US Naval Nuclear Reactor operator who then majored in EE and CS. Guess i never felt inspired to build something like this in game because of the headaches of building them in real life.
    I find it quit impressive that people do this stuff. I am curious why he didn't use a map editor for terraria and chose to make it all inside terraria the way he did. i would have thought the map editor would have been faster. Well maybe not if you have to keep switching back and forth to test it.

  • @eduardowormittag2113
    @eduardowormittag2113 8 หลายเดือนก่อน +2

    "There's some serious grass going on" is now my favourite phrase xD

  • @_zetrax
    @_zetrax ปีที่แล้ว +68

    So basically he proved we're living in a simulator and we've created computer same way he just made a computer in terreria... I'm going back to sleep now 🤣

    • @KebabTM
      @KebabTM ปีที่แล้ว +5

      It's called a Virtual Machine for a reason haha

  • @Winter-CIG
    @Winter-CIG 8 หลายเดือนก่อน +1

    We've had the Iron age. We've had the Stone Age. This is the Pissin' About Age.
    ~Karl Pilkington

  • @limbo3545
    @limbo3545 ปีที่แล้ว +2

    12:01 Humans do anything for cats. We love our masters!

  • @Rebound1234
    @Rebound1234 ปีที่แล้ว +2

    19:47 This part reminded me of my dad. My dad used to work as an electrician. You know the funniest part? He was colorblind.

    • @stevqtalent
      @stevqtalent 7 หลายเดือนก่อน

      thats the exact reason why earthing cables are striped

  • @TheEyalYemini
    @TheEyalYemini 6 หลายเดือนก่อน +2

    If it's stupid and it works, it's not stupid.

  • @CallousCoder
    @CallousCoder ปีที่แล้ว +3

    I feel stupid! And I even had basic CPU design in college 😂 This little guy is simply a bloody genius! And I see him make it very very far! He’s not only got a genius mind but also sheer grit and determination.

  • @c64cosmin
    @c64cosmin ปีที่แล้ว +1

    When designing chips, debugging is usually done by having unit tests for each small module used in the bigger design. If some bug DO leak out on the actual silicone chip, well there is no way to change that unless you do some software patch.

  • @dvc1190
    @dvc1190 3 หลายเดือนก่อน

    What's also impressive is how this kid made an entertaining video describing his achievement.

  • @rotteegher39
    @rotteegher39 ปีที่แล้ว +1

    21:15
    Where is the vsauce music when he said "Or, is it?"

  • @erroneum
    @erroneum 9 หลายเดือนก่อน +1

    Nah, crystal oscillators are not magic to me. There's a small crystal, usually of quartz, that's got wires connected to it and been suspended in a case, meant to help isolate it from shocks. The crystal is specifically a type of material which exhibits a piezoelectric response, meaning that when bent, it generates electricity, and when electricity is applied, it bends. It gets tuned during manufacturing to have a characteristic frequency it will most efficiently resonate at, and the crystal gets installed into an electrical oscillator circuit to generate a fundamental clocks signal.
    In a modern computer, that fundamental signal then undergoes more circuits to generate the system base clock (BCLK), which in x86 systems is usually 100.00 MHz. This is the fundamental timing signal that everything else is built from.
    The CPU, for the core clock (and really everything else) then has circuits which form the clock multiplier, which is essentially a phase-locked loop to multiply the frequency and possibly a divider to get more precision that 1×, 2×, 3×, etc. The simplest way to envision the multiplier is that it's an electrical spigot which measures out amounts of charge, then it's counting how many are generated in a single BCLK cycle, and it adjusts how open the spigot is based on the error. The divider can be as simple as a counter that sends a pulse when it gets to a certain value and then resets to 0.
    Admittedly, coming from the world of software, especially high level software, it can seem crazy that it works at all, but it's really not crazy complicated if you take a bit of time to learn about it.

  • @livedandletdie
    @livedandletdie ปีที่แล้ว +1

    We only relied on Malaria to treat late stage Syphilis between 1917 to 1940, and it was just to prolong the life of the patient. However in 1940 we got introduced to Penicillin.
    And the use of Malaria to treat Syphilis got a Nobel Prize in Medicine in 1927.
    The world is strange.

  • @AndrewTSq
    @AndrewTSq 3 หลายเดือนก่อน +1

    in the 80ies, my friend 15 at the time built his own MC68000 based computer, same guy when MP3 came from frauhofer made a hardware mp3 player before that was even popular, another friend wrote a raytracer at the same age.. So not sure I am super impressed, since today its easier to get information on how todo these things :)

  • @kollpotato
    @kollpotato ปีที่แล้ว +5

    You must watch the video where Minecraft was made using Minecraft redstone

  • @oakley6889
    @oakley6889 ปีที่แล้ว +2

    Computer clocks basically are magic
    Source : Resonant frequencies chapter in Chemistry

  • @galaxyguy9873
    @galaxyguy9873 7 หลายเดือนก่อน +1

    that "yo i got kids" got me dieing

  • @gregory-of-tours
    @gregory-of-tours ปีที่แล้ว +1

    On zed with the accent: he's probably Canadian

  • @stephenchurch1784
    @stephenchurch1784 11 หลายเดือนก่อน +1

    Can't wait until you discover dwarf fortress computers

  • @Hawkido
    @Hawkido 4 หลายเดือนก่อน

    Malaria causes a high fever which can kill the syphilis infection, you can survive malaria with treatment, but syphilis was a terminal disease. This was during the pre-antibiotics era. Now malaria is the more difficult to cure, as syphilis can be knocked out with a round of antibiotics.

  • @lurky_dev
    @lurky_dev 5 หลายเดือนก่อน +1

    So much foreshadowing in this about the prime now lol

  • @DarkArachnid666
    @DarkArachnid666 2 หลายเดือนก่อน

    This is one of those times that somebody is into something so much more than you are that you just look at them and go "Uh huh. Okay.",

  • @edgeman1135
    @edgeman1135 3 หลายเดือนก่อน

    There are so mant CS channels that just don't deliver what they promise. This kid is awesome, his passion for such a project is admirable.

  • @oldspammer
    @oldspammer ปีที่แล้ว

    12:30 A clock signal is just a tank circuit that produces an oscillation within a tight frequency range.
    In this case, the origin of the word tank comes from a fish tank of water (filled to about halfway up the height of the glass walls) that is free to slosh around back and forth or oscillate like a pendulum. A natural oscillation circuit is a wire coil and a capacitor that is hooked up to an amplifier that keeps the water sloshing back and forth in a resonant situation. An amplifier tends to be one or more transistors. The circuit is fed back its own voltage level amplified and slightly out of phase with the oscillator tank circuit's current or voltage signal. In a capacitor, an electric field on some conductive plates are allowed to charge with positive on one plate and negative charges on the other plate. During the charging process, electron particles collect on one plate, while the opposite connection has electrons removed from it producing a positive polarity equal and opposite to the one opposite to it. A coil permits direct current flow easily but restricts higher current transitions by building a magnetic field around the coil as the current flow increases. The coil's magnetic field collapses if the current is taken away, and as the magnetic field collapses the coil's windings absorb back the established magnetic field creating a reverse current flow in the coil. A coil and capacitor can be placed into a parallel or a series configuration, but the tank circuit typically has a capacitor in parallel with a coil. The electrons within this circuit flow first one direction, then the other direction in an oscillation at a resonant frequency that is given by a physics equation.
    To know how a bipolar transistor works one must first know how a diode works. A diode permits current flow in only one direction. A silicon diode is created with, what else, silicon with roughly half of p or positive material that has an almost full outer electron orbital (physics model) that can be seen by the S, P, D, F, etc, orbital shells of an atom. The chemical properties of these atoms are displayed in the periodic table of the chemical elements. The other silicon half of the diode is doped or infused with atoms that have only a single electron in their outer orbital shell--to make N or negatively polarized silicon.
    When the P and N doped or infused silicon are joined together in a junction, it produces a PN junction diode. This is because a natural electric field is produced from one doped part to the opposite polarity portion.
    It was discovered by experimentation that if you reinforce the electric field, then no current can flow until the field grows in size to such an extent that the field gets stronger and stronger until the force is just too great and the circuit gets a breakdown situation where the extent of the field gets larger than the PN junction boundary itself and a sudden arc of current flows through the device backward in a largely destructive way unless measures are taken to limit the current flowing through there using a series resistor of high enough resistance, but if you opposed the PN junction established electric field, then the field collapse being attempted permits only partial field collapse due to the rate of how many electrons are coming into the PN junction's field. As the field collapse that is underway reduces the field size, the diode's in-line innate resistance to current flow shall cause the junction to heat up.
    In the first case, the PN junction diode is accumulating a greater field size, it is just like the charging of a capacitor.
    A bipolar junction transistor inserts a third signal as a control into the junction area. It is called the base material. The typical configuration of the doped or infused silicon is either PNP or NPN with the middle letter being the base junction that typically acts as the input terminal that controls the transistor's current flow. Transistors and resisters in various configurations act as amplifiers. Some amplifiers invert the input signal while others do not. An amplifier has an innate delay due to junction capacitance that must be either charged or discharged depending on the incoming signal for the circuit.
    If the bipolar junction or diode input capacitance is too high, it shall make the signal output lag its input signal more and thereby limit significantly the highest frequency range supportable by the amplifier and whatever oscillator

  • @fuzzy-02
    @fuzzy-02 ปีที่แล้ว +2

    I can't believe you reacted to this.

  • @DryBones111
    @DryBones111 ปีที่แล้ว +1

    Building a computer is not particularly difficult if you learn logic gates and the Von Neumann architecture (and have a lot of determination to see it through). What IS hard is optimising it so that you actually get performance in a simulator, building custom tooling for it and setting up automated pipelines and testing for it. That's the shit that impressed me from this. Nice.

  • @sleepydragonzarinthal3533
    @sleepydragonzarinthal3533 4 หลายเดือนก่อน

    "I have kids" yo, you don't even need to go that far. I have a beer and a bag of chips. I won't even put that down to think about what it would be like to even watch someone do that for 5 minutes, let alone plan, execute and debug an actual computer in terraria. no. I've sipped my beer twice just while typing this, no way

  • @arbitrarycomplexity
    @arbitrarycomplexity 3 หลายเดือนก่อน

    You throw lightning at a rock and it counts. That is by definition magic.

  • @Krmpfpks
    @Krmpfpks 8 หลายเดือนก่อน

    25:16 Who’s Zed? Bruce Willis: Zeds dead. Zeds dead.

  • @dprophecyguy
    @dprophecyguy ปีที่แล้ว +2

    Thank a lot for watching these videos

  • @lumiey
    @lumiey ปีที่แล้ว +1

    18:48, Pixel diffing would actually work as a cool debugging tool here lol

  • @AurikSarker
    @AurikSarker 11 หลายเดือนก่อน +1

    This obviously took a ridiculous amount of time and effort to do, and honestly very few people post-college really have that time to devote to something like this. Then add a wife and four kids
    However, even with the praise I think the difficulty and discipline required to do this was severely understated. Twitch chat saying that it's just NAND gates all the way down - it's not even close to that fucking simple. It clearly took a lot of research and knowledge to have to adapt the architecture to work in Terraria. Then he just casually mentions writing a mod which completely rewrites the whole damn wiring system. Not to even MENTION how he didnt go absolutely insane debugging this fucking thing. There were many places he could have just ended it there but he went the whole mile.

  • @parker7441
    @parker7441 4 หลายเดือนก่อน

    I guess he used tristate gates. Which has input state and output. Enabling the gate to use bus and registers.

  • @ex0stasis72
    @ex0stasis72 ปีที่แล้ว

    14:55 Fun fact: the term for that "soft rhyme" is called an assonance, which weirdly enough sounds very fitting for this.

  • @0xbaadf00d
    @0xbaadf00d 6 หลายเดือนก่อน

    I wrote game of life with CUDA. It's more to do with how you optimize memory than code. It was fun, taught me a lot.

  • @Ashbringer992
    @Ashbringer992 3 หลายเดือนก่อน

    So i'm been trying to do devops for 4 months. Nice to see that this kid just surpasses me in every way possible

  • @BigDeal0716
    @BigDeal0716 3 หลายเดือนก่อน

    That zoom out melted my brain trying to comprehend it.

  • @tuglang
    @tuglang 3 หลายเดือนก่อน

    when a game have feature or tool that turn 0 and 1:
    People: Its just a lever usage
    Community: *Built the whole computer using only not gate*

  • @BruceNJeffAreMyFlies
    @BruceNJeffAreMyFlies 5 หลายเดือนก่อน

    "I figured a way to add two numbers together. Obviously the next step is built an entire CPU."
    🤣🤣🤣🤣🤣🤣🤣🤣🤣

  • @whamer100
    @whamer100 4 หลายเดือนก่อน

    well now i have an idea for something id like to try and put in that

  • @Pence128
    @Pence128 ปีที่แล้ว

    Take a vibrating quartz crystal sandwiched between two metal plates. Quartz is piezoelectric meaning it turns mechanical oscillations into electrical oscillations which can be amplified. It also turns electrical oscillations into mechanical oscillations so some of the amplified signal gets fed back into the crystal to keep it vibrating.
    The vibration is basically a soundwave echoing inside the crystal so the frequency is the speed of sound through quartz times the distance it travels. High frequency crystals are just thin discs with the sound wave going from side to side while low frequency crystals are shaped into tiny tuning forks.

  • @elkvis
    @elkvis 6 หลายเดือนก่อน +1

    MIT should just give him an honorary PhD.

  • @jamesc2810
    @jamesc2810 ปีที่แล้ว

    @7:35 looks like a d-latch with pwm clock signal. basically toggling the out put with the pwm signal, basically a sort of buffer.

  • @djbar0202
    @djbar0202 11 หลายเดือนก่อน

    The base of sequencial electronics is the Flip-Flop (the output is a function of input and internal state 0 or 1).
    A register is a bank of flipflops. The ALU is a bank of registers wich imputs are both data and code (the instractions).
    From electronics to assembler, then to C, etc. The path of old school engenieurs...

  • @PedroHawk1
    @PedroHawk1 11 หลายเดือนก่อน

    Gotta say, if it was just building the CPU I wouldn't be impressed, since it's relatively easy to do, once you know the logic behind it all.
    But this kid REWROTE the fucking game to be efficient enough for him to finish the project. Now *that* is crazy.

  • @ShredBorges
    @ShredBorges ปีที่แล้ว

    I'm a huge Terraria fan, I'm in the beggining of my studies in javascript to code for Minecraft and I also want to learn C# in the future to create mods for Terraria. I don't know what kind of content is your channel about but I really loved your reacting (chat is hella funny too), and I'm staying. 💗

  • @Dgiulian
    @Dgiulian ปีที่แล้ว +10

    My mind was already blown by the first part, but after minute 21:30 it was unreal

  • @sparkplug._
    @sparkplug._ 9 หลายเดือนก่อน +1

    If you ever feel useless, remember that this video exists.

  • @FranLegon
    @FranLegon 4 หลายเดือนก่อน

    26:26 are you a man of your word, Prime?

  • @dus10dnd
    @dus10dnd ปีที่แล้ว

    The "state" is more of his "clock". Since he is doing things by hand, it is slow. He has to accumulate all of the settings first, then release the clock in the form of what he is calling "state".
    Going further since you mentioned it. The clock is just a rhythm. The crystal is used because it is consistent. At each cycle, the computer performs an operation based on the instructions supplied at that moment. In between those instances are the opportunity to set the next instructions. That's all it is. If you were adjusting the instructions as the clock is executing, everything would be chaotic and computers wouldn't be very useful because they wouldn't produce consistent and reliable results.
    The malaria to cure syphillus worked because syphillus is a parasite. Inducing a high fever over a long time kills the parasite. Malaria induces a massive fever and can be managed until to clear the infection... often.

  • @vast634
    @vast634 8 หลายเดือนก่อน

    Given that there where not antibiotics around, using pyrotherapy was at least an effective treatment to an otherwise untreatable disease.

  • @naycnay
    @naycnay ปีที่แล้ว +1

    I don't have a company, but I want to hire this kid.

  • @Infamous159
    @Infamous159 6 หลายเดือนก่อน

    My guy really remembers his computer architecture class lol. Even arrange the stuff in the grass the same as the textbooks. I used to tutor computer architecture for 4 years. Did mainframe kernel security engineering for 3 years. Tape drives, octal dumps, everything lol. A 30 year old doing that is pretty rare these days.
    Fun fact, in a digital logic class during my Masters, we built an entire MIPS architecture CPU just like this in some obscure digital logic software and then built it with real hardware. Pretty cool stuff. BUT that software is BUILT to do that lol. This guy literally did this in a game bro. It looks just like our software. It actually is rather pretty simple tbh but Idk. I know that shit like the back of my hand.

  • @matthewaxe6647
    @matthewaxe6647 8 หลายเดือนก่อน

    For anybody wondering, it works because syphilis can't survive the temperatures induced by malarial fever. Also a lot of humans can't survive it.

  • @MrFleit
    @MrFleit 9 หลายเดือนก่อน

    The "yup" after "everything is stored as 1s and 0s" had some strong "ah finally something I understand" vibes

  • @Blackmuhahah
    @Blackmuhahah 8 หลายเดือนก่อน

    I think the concept of an astable multivibrator is appropriate here

  • @lim0nplays45
    @lim0nplays45 3 หลายเดือนก่อน

    The guy the recruiter tells you not to worry about

  • @tc2241
    @tc2241 ปีที่แล้ว

    This kid reminded me of how much science in computer science that I’ve forgotten over the years. I think smoke is coming out of my ears as the gears start churning again

  • @4thepulsex
    @4thepulsex 6 หลายเดือนก่อน

    Dude was not about to rebuild his computer and decided to change the game lmao

  • @Striker9
    @Striker9 3 หลายเดือนก่อน

    Idk what oscillating crystals are but I'm assuming it has something to do with the vibration timing of something like quarts on the super small level?

  • @PascalxSome
    @PascalxSome ปีที่แล้ว +1

    Ever seen the CHUNGUS2? The creator programmed minecraft for his minecraft computer

  • @deldrinov
    @deldrinov ปีที่แล้ว +1

    It's not really a gate he's built everything on. It's a transistor.

  • @MyHunta
    @MyHunta 7 หลายเดือนก่อน

    I have over 1000 hours in terraria, and the most complex thing I accomplished was a mechanized slaughter pit.

  • @BenWakefield
    @BenWakefield 7 หลายเดือนก่อน

    5:44 it's a transistor!

  • @skilz8098
    @skilz8098 9 หลายเดือนก่อน

    There's a video out there of someone who built a 3D Raycasting Rendering system in Factorio! It's quite impressive! Also there's another Y.T. video out there where someone rendered the video to Sandstorm in Factorio another impressive feat! Games that are Turing Complete are really fun to build within their Sandbox!

  • @gkiokan
    @gkiokan 3 หลายเดือนก่อน

    Holy shit. Wait until this kid grows up. I am curious what he will implement into the real world.

  • @gamingclan4651
    @gamingclan4651 8 หลายเดือนก่อน

    the full implementation of risc v 32 bit is what im really impressed of like you could run the full linux kernel

  • @Hr1s7i
    @Hr1s7i ปีที่แล้ว

    19:40 I laughed so hard at this. Then I laughed even harder to your reaction of it. Good stuff, this video :D

  • @FelixNielsen
    @FelixNielsen 9 หลายเดือนก่อน

    If you want to understand, read Charles Petzold's book: Code. It's basically a childrens book, by which I mean that it is written in a way that anyone can comprehend, while not compromising the essentials. Read the book and you can, theoretically, build a computer with nothing but transistors, or similar.

  • @skilz8098
    @skilz8098 9 หลายเดือนก่อน

    Every CPU has a vibrator! They can be plugged into the wall or run on batteries! They come in all sort of frequencies too. When you give them bad instructions or commands they will throw a fit (exceptions), go crazy (u.b. or unexpected results), or completely come crashing down. When they're running, they're always on a cycle. They can be high maintenance and can cost a pretty penny to operate. And when they meet some random strangers they can easily catch a nasty virus too. Now we know why C++ standard library has the shortened form of std::

  • @eugkra33
    @eugkra33 7 หลายเดือนก่อน

    ...so he didn't just build a CPU. He reengineered how a CPU works entirely and then build it.