I Made a 32-bit Computer Inside Terraria
Вставка
- Опубліковано 23 чер 2023
- I document my journey implementing Computerraria: a 32 bit CPU running inside the game Terraria. I've been working on this for over 6 months now and thought it's cool enough that other's might be interested in learning about it. Absolutely everything I talk about here is completely open source and freely available in these public repositories:
Computerraria (World file and support software): github.com/misprit7/computerr...
WireHead (Accelerator mod): github.com/misprit7/WireHead
To download the mod to try it, here is the steam workshop link, although for any development I'd recommend using the Github link instead:
WireHead: steamcommunity.com/sharedfile...
If you're interested in learning more about the more technical engineering side of things, definitely let me know in the comments. I would be happy to go into it but I'm not really sure there's an audience for it.
Big thanks to Gus for implementing the raycaster engine, still can't believe that works so well. Eric, Renu and Evan also deserve credit for listening to me ramble for countless hours about various different wiring schemes and optimizations.
Terraria inside Terraria is close!
Twitter: / from_scratch_yt
Github: github.com/misprit7
Music credits:
Terraria Soundtrack, Scott Lloyd Shelly, ReLogic: www.terraria.org/, forums.terraria.org/index.php...
Symphony No. 5 mov 4, Beethoven, Fulda Symphonic Orchestra: musopen.org/music/2567-sympho...
Overature to the Marriage of Figaro, Mozart, Museopen Symphony: musopen.org/music/2682-the-ma...
Violin Partitia bwv 1004, Bach-Busoni, Stefano Ligoratti: musopen.org/music/3786-violin...
Feel Alive, Ethan Sturock: freetouse.com/music/ethan-stu...
Everyday, Eric Lund: freetouse.com/music/eric-lund...
Waves, Beau Walker: freetouse.com/music/beau-walk...
Magnificent, Pufino: freetouse.com/music/pufino/ma...
Glorious, Aylex: freetouse.com/music/aylex/glo...
Worlds, Aylex: freetouse.com/music/aylex/worlds
No Copyright Music for Video (Free) - Наука та технологія
Hey if you're interested in more engineering/Terraria projects like this please subscribe!
I wasn't originally planning on making more but there clearly seems to be an audience. My current project is making a foosball playing robot, if that sounds cool then you're in the right place: twitter.com/from_scratch_yt/status/1734116135384363291
6:30 - Are you ok?
I want to assume it's just an easter egg, but, y'know... see something, say something. ❤️
Why you have a giant calculator also yea i am very interested pls make more yes i subbed and bell
@@Felice_Enellen what easter egg you taking about?
@@anonymous_246 Oh, the binary contents of memory at that timestamp represent the ASCII text, "HELP". I figure this is just a variation on the famous fortune cookie note that says, "Help! I’m being held prisoner in a fortune cookie factory!"
Any time you see binary in 8-bit blocks (in this case formatted with the 0b prefixes some programming languages use to differentiate binary from decimal) where the first two bits of every octet are almost always 01, you can guess that it's ASCII. There are multiple online decoders if you don't know how to do it in your head.
Please, I want to see this thing evolve! or a technical explination, I love CS and this is really impressive
I'm a senior software engineer AND embedded electronics designer with 9 years of industry experience, as well as a relevant degree from university. I understood every single thing you did here, even the things you just mentioned in passing, and yet I am absolutely blown away by the fact that you did it. Like.... HOW OLD ARE YOU? And then you edited it all into an entertaining video as well.... My man, you will have ZERO problems finding a job. You can basically just point at where you'd like to work and they'd THROW money at you.
I think all the adults with backgrounds in the industry were thinking the same. I was.
yep@@ross.neuberth
he doesnt need to find a job, but kind words nonetheless!
but the point is this is so insanely dedicated and sophisticated for somebody of his age (assuming he's young), this is the kind of brain companies will froth over.@@AlbertRyanstein
I think he sort of meant it like if he really needed a job then it would be effortless - but I'm sure this guy is already living pretty comfortably.@@AlbertRyanstein
Ok but two questions.
1: Can it run Bad Apple
2: Will you make it run Doom?
Someone already made Bad Apple. Waiting for Doom
doom is open source right? it just needs some code to copy over screen contents from FB... if there's enough ram...
Doom in Terraria was literally my 1st thought lul
I love that for Doom you're not even asking if it can run, just if he's going to do it, since we all know that Doom can run on anything
It is a matter of time until him or someone else runs Doom on Terraria.
YES!!!! Hats off to you, All hats, right off. I am a Sr Electrical engineer, and I got here without a degree because I spent 15 years hyper-focused on projects like this while working construction to pay the bills; burning the midnight oil on what I really loved. Architectural engineering, mechanical engineering, computer science, and primarily electrical engineering, building every crazy invention that came into my head, never knowing I could turn my passion into a career. My biggest issue for years was building the courage to display my efforts (you have no problem there), but when I did, my career skyrocketed. Because of people like you sharing your work, I learned how to be confident in presenting and promoting myself. You have an extreme talent, but more than that, you can communicate and present engagingly and interestingly. You have no limitations man! I am humbled and inspired by what you have done here! Keep following your interests and passions, and keep sharing! Thank you.
Respect to you. I think you should document those stuff on your UA-cam channel (if you're comfortable with it). I will be your 2nd subscriber
For validity; I'm a full time developer for more then 20 year. Your computer skills, dedication and presentation skills are suuuuuper impressive! This project alone will surely land you a job at any tech company you want. Personally I hope you choose your own path and write your own projects because you seem really good at it. Best of luck, well done!
Can I contact you, I need advice from you
Yep, I'm a computer engineering senior and literally have no idea how he made this.
@@mahjoubadam1742engineering senior where ? Construction ? 😂😁
@@ChangeOfHearts39 I literally said computer engineering, final year
@@mahjoubadam1742 so how do you have no idea how he made this? And its your final year ? Ask for your money back 😂👍 im just pulling your leg bro 😂
He's going to pull up to a job interview, and put "made a 32 bit computer in a block game" on his resume. What a legend.
People like him do not go work for companies, They create their own companies.
@@RobertoOrtis people like him have no social skills and awareness
he is not going to an interview, he is the manager
Thats not how it works. No one cares really about technical details like this. People in interviews want to hear stuff like:
My code was run in production without interruption and no bugs serving 100k users, biringing 2m$ in revenue to the company.
People forget that code is just a tool to accomplish something else, no one gives a shit about code itself (except we nerds), code is not the "end product".
If you want to succeed in your engineering career, dont forget this.
@@jordixboy but noone will say that this isn't a great showcase of creativity/problem solving, which results in great code that can serve 100k people and bring 2m$ in revenue.
This is ultra impressive. Not only did you plan this whole project, made a very succinct video on it, made your own terraria optimisation mod, you stuck to it all and finished it! As somebody who is currently doing his master in computer science, your dedication and skills are top notch. I am trully mind blown
Thank you, not quite a graduate degree but definitely took a fair bit of motivation to finish this off!
@@built-from-scratch u should continue making these type of videos and also make a video on how u got quant role in jane street what are the skills required for that please dude
@@built-from-scratch Don't kid yourself. This is definitely worth the equivalent of a masters thesis as far as I'm conserned.
On a related note: Are you looking for a job?
Dude this is absolutely grad school material, miles ahead of anything my classmates and I pulled off
give him your degree
Senior Devops Engineer here with 10 years working IT, definitively interested in seeing more detailed video essays like these. You remind me of myself at your age just must smarter :D
Really impressive work you've done here, couldn't believe it when you went on saying you'd rewrote the entire wiring system lmfao. Keep it up kid
Can I contact you, I need advice from you
As a 4th Year Computer Engineer Student building a 16-bit computer using an FPGA to run a crude version of Doodle Jump I am speechless. This is one of the coolest projects I have ever seen and I can only imagine the difficulty especially when limited by the logic gates. I was impressed from the beginning but blown away when you casually mentioned rewriting the wiring engine. I will probably check out your project and see if I can maybe create something cool with it.
Thank you! FPGAs are super cool, would like to use one in a project at some point.
Can I contact you, I need advice from you
That initial zoom out from the screen to the wiring had my jaw on the floor. I’ve seen CPUs in Minecraft and they look pretty big, but that reveal was MASSIVE.
Real
Same reaction fr. I guess most of it is actually memory, but still!
It looks larger than Minecraft bc 2d. Everything had to be layed flat, where in Minecraft you can stack things and make them more compressed
thats because minecraft has never had a 32bit build
@@jxck7453 It has, watch?v=USH-PME_rls
Well done!
That was a true labour of love.
When I was young, I did a 16bit ALU in DigiSim. That took already weeks to develop and I also learnt a lot.
But doing a full 32 bit Risc-V computer that is huge.
This is beautiful. I’m a Senior Software Developer like many of the other comments here, remember exploring things like this in Minecraft years ago but nowhere near this advanced. Great job! 😎
Hands down the greatest technical achievement ever done in the history of this game. Hats off to you sir, mad respect!
Thanks, stuff like your spawnkill/dps setups were some of the things to get me into Terraria engineering!
@@built-from-scratchRemake terraria in terraria then build an EoL spawnkill setup
@@built-from-scratchplay doom in the computer
@@built-from-scratchdudes gonna make a time machine watch
Dude, I am a Computer Engineer and I am totally blown out by your work. What you did here is worth a ressearch paper. Congratulations.
Why? There’s no research here, even though it’s quite impressive (mostly because of the time spent building the darn thing in a non-optimal editor). I’d assume most engineers being able to do this kind of thing if they put enough time in it.
@@VisionThing It is definitely worth a research paper. He was even referencing academic papers to design it. He's applying methods in unique ways and pushing boundaries.
@@Taricus It’s a hardware emulator. There’s nothing new here, even though it’s entertaining and clearly took a lot of effort. Do you even know what a research paper is? You don’t make one just for something being impressive if there’s nothing novel. How good of an engineer are you if you are so blown away by this on a technical level?
This, so much this. I am an academic and this should be published somewhere. This is the kid of thing that brings humankind one itsy, bitsy, teeny, weenie step forward. And in our lifetime, that is all we can realistically do.
@@VisionThing lol bruh you goofy..
My god what a lot of work there, and you made me understand it perfectly. Subbed can't wait till I see your next endeavor
I have assembled a 16-bit processor inside a modelling software once, so I understand what you are talking about, but this was so much more work to rewrite a part of the game and setup everything around this. Mad respect.
Honestly the bit where you made an entire mod overhauling the game's entire wiring system is possibly the part I'm most impressed by. That's dedication right there.
I mean, if I spent 5 months building some random shit in a videogame and it doesn't even work I'd also go to any lengths imaginable to make it work. 😂
I would just want this mod just to make the game run smoother so more mods can be ran.
This dude really, really loves pong
@@dragonlord1225I haven’t coded since high school and decided to make a website this year from scratch. I could have used templates and websites but I decided to do it with only code and once you make up your mind…… 80+ hours later I finished, excited but completely warn out
When you already spent 500 hours on designing a computer, you're probably willing to spend another 100 to make it work better.
Kids these days are superhuman, I swear. Combining deep technical knowledge, perseverance and perfect presentation while concealing all the effort besides implementing the computer, all for your presumably first video (likely not, please tell us it's not) is an insane feat. Kudos!
Mom: "You're always playing that video game."
Him: "I was designing a game inside a game using real world science applied to video game logic."
They're very rare sadly
Slow down, pal. Kids in the past didn’t have so much free time and money and the ability to relax and play games for hours. Kids in the past didn’t even have things like this to do.
What would a kid in the 1950s do to be equally impressive besides…? Being a great athlete? Starting a business?
It’s totally an unfair assessment. The world as a whole is exponentially more skilled/knowledgeable/capable than any world in the past.
This is neat, but let’s stay mindful.
@@myrusEW Look, this guy is what people call a genius. This is not just neat, this is absolutely insane.
It's fine that you weren't doing this when you were a kid. I sure wasn't. It's fine. We're geniuses in our own personal fields.
Society wants us to compare and evaluate ourselves constantly. It's bullshit. We can both be glad that this guy is doing what he loves and that we also are, regardless of how society evaluates what it is that we enjoy doing with our lives.
And what he did is still absolutely insane and I love it.
Not to run anyone down because this is great, but today kids have access to an astonishing amount of information and tutorials for free.
When I was a kid, I had a commodore c64 programmer's reference manual. An unspeakably precious book. But that was basically it.
As someone who knows nothing about programming, but watches a lot of these types of videos, you did an excellent job at breaking the process down into an interesting and easy to understand step by step, far better than any other video ive seen like this
This is an amazing achievement! WOW! You are absolutely brilliant, I hope you post more in the future!
If you read this, please share this video!
Such nerdy work must not go unnoticed. Somebody make this guy an engineer!
im pretty sure he said in the video he has a job and somehow that project helped his advances or smth.
I don't think a guy like him needs to worry about work - if he's at the point where he can do this, there isn't much he can't do on his own. I would say it's a shame if he gets stuck in a corporate environment with this creativity. Thanks for a good vid. :)
In my long years of experience in the field I have learned the hard lesson that just because someone did an amazing passion project doesn't mean they'll be a good engineer. There are motivation issues, and they tend to be mavericks and lone wolves. And they just suck in general.
Guys who pour all their heart and soul into a terraria computer can barely bring themselves to open an industry standard circuit design tool and actually do work that someone else has assigned them. This is because they're all motivation and passion and no discipline and focus. If they ever get around to finally producing anything at all they produce shoddy, sub-standard, piss-poor implementations because they learned on the fly and did not persue classical training, on top of being unmotivated and just trying to do the minimum of work. In nearly every case, my more level-headed, dedicated, classically trained engineers have to fix everything before the product could ship.
Often that fixing process takes longer than if my real engineers had just ran the project right in the first place.
So no, I will not be hiring this kid or anyone like him. They can stay in youtube land while the real engineers with dedication, discipline, heart, and real world training do the actual work.
@@realityveil6151 you worded it like if him making that actually is a red flag for you, but I guess you rather meant it doesn’t mean much?
@@MatVeiQaaa Depends. If they have completed classical training with high marks (I don't care about GPAs, just show me your engineering class scores. I don't care if you flunked English or World History) and have a passion project to show off, and at least one of those was a team effort of 3 or more people: Instant hire.
If all they have is a series of solo passion projects, big red flag.
I already commented in the reddit thread, but I'll repeat myself here: This is _seriously_ impressive.
I started PC programming in 1982, so on a 4.77 Mhz CPU capable of about 1 instruction/us. Your emulated CPU is only a few orders of magnitude slower than what we had then!
really impressive, this guy might even surpass Terry Davis
@@daleryanaldover6545
Lihzahrd Temple OS
I still remember my first computer I started programming on. It was a TRS 80 from Radio Shack.
@@daleryanaldover6545 lol no. and if the mere mention of an arduino wasn't enough to dispel such a thought, i don't know what to tell you
@@wj11jam78 LMAOOO
One of the most impressive things i have seen in a while, well done buddy
Just from a single video, it's so clear you're gonna go on to do great things!
This project is genuinely amazing, and the infodumps along the way were super interesting too!
Pleasure seeing you here chippy
Thank you so much, I really appreciate it!
oly shit it's chili 😊
@@silvrivy chili💀💀💀
Makes me happy seeing you encourage smaller terraria UA-camrs. You really do care about our little community.
As a college student taking computer architecture this semester, this was super cool to watch! Great job man
As a mechanical engineer I am blown away by the dedication you put into this. I don't understand half of it but I can clearly see the genius behind a project like this.
As I civil engineering student, my mind blow off while I watched this video due to this insane creation.
As a CE junior, same. The time that was put into this. Really incredible!
Make sure to add this to your resume. This is seriously impressive.
yeah like try to focus on making money from your passion
Sadly, this is covered by at least junior-level computer engineering in college. However, if I was a hiring interviewer for certain jobs, telling me you made a softcore CPU while solving routing issues (but not timing issues) in a videogame could be a nice opener if you had the HDL experience to back it up.
@@adissentingopinion848it speaks more about the dedication and planning required to code this, rather than the knowledge (although it certainlyrequires knowledge). I know that not every computer scientist or software engineer student would go to this length for a project (I certainly didn't)
Meh, its not really that useful for real world software problems. Although it does show his tenacity in solving problems.
@@researchandbuild1751the tenacity and documentation of it are the valuable skills.
Professional Software Engineer here - holy sh** great work! Very impressive and fun to watch.
SO BAD😭
You are a legend. I’m 35, have been in the industry for 13 years and I’ve never seen such a diverse set of expertise, understanding and knowledge applied so creatively and brilliantly from someone so young. And to top it all off, your communication and verbal skills haven’t been sacrificed. Well done man
Back when I was designing video games (90s) we would interview programmers. Sometimes we would just tell them to go off and program pong. This would tell us a lot about the programmer, both in what they did, if they did it, their aesthetic sense, and a lot of other stuff about the applicant. We would have shaken our heads and probably hired you on the spot if you came back with that one.
probably hired him??? this kid could hire you in a few years from now
@@FranciscoGoodface
@@FranciscoGoodfacethat's not really how it works.
Seeing shit like this made by geniuses like you is why I quit software engineering to become a lawyer. I can't even begin to express how impressive this is.
Im about to quit pursuing law to start learning software engineering
"Your honor, the 32-page long document my client wrote thoroughly detailing a coordinated terrorist attack on his local DMV clearly had "in Terraria" written at the end of it, therefore my client is completely innocent"
@@Sorrelhas LMFAOOOO
Language models are the new lawyers ;-) Sry... I could not resist ;-)
why is computer science to law such a common switch
impostor syndrome is really making me consider this switch too
This video has been sitting in my Water Later for a while. It was definitely worth getting around to. Very good video.
This is a nice refresher for my Digital Electronics and Computer Architecture classes.
This is incredible. 15 minutes of unique phd level content. Please continue posting naturally and organically
If you think this is PhD level you've never been to a university
@@ActuallyAwesomeName I mean this in nothing "new", so it wouldn't qualify, but there are still not many Masters degree students who would be able to pull off something like this. Including myself.
@@ActuallyAwesomeName It may not be Ph.D level but totally Senior Undergraduate level or MS level. I'm a Senior electrical engineering student with a 4.0 GPA and this would of been a huge effort to do. Only in my final year did I learn enough about computer architecture to do something like this. What's crazy is that this high schooler who's like 4-6 years younger than me knows how to do it all XD
@@ActuallyAwesomeName This is not so far from phd level to be honest... I am in fifth year of university next year, and have many friends planning to do a Ph.D so I think I have a pretty good idea what it means.
@@em3755"would of" + 4.0 gpa?
not only did you create a whole computer, you also created a revolutionary mod to help your project. wow
So crazy, absolutely incredible! I don’t understand but I have so much respect for this. You’re a genius!
OMG, as a SW-Dev with 25 years of experience, I can't stress enough how insanely impressive this project is !
I'm a senior software engineer with 12 years of industry experience and a degree in compsci. Still watching this video was incredibly humbling and impressive. I bet the journey was as incredible as the final result.
Im a senior software engineer with 10 yrs and no compsci degree, same for me. Altough I made similar stuff (not this big though).
@@jordixboywhat did you make?
@@blasttrash Short list: VM's (Chip8/Gameboy...), Write assembly (and also binary) (not for x86 arch though), Make an ALU/CPU with logic gates (with LogiSim). Own Programming language, some reverse engineering... Idk stuff like that, I really enjoy it
@@Lronhoyabembe i made it and have no degree. Not so hard, just take some books, learn and practice. Fun experience
@@Lronhoyabembe I guess a lot of people just want to recollect the paper and dont care about what they learn lol. I love applied CS, computer engineering (whatever it is called), I also like electronics, I spend my free time learning and playing, not for the sake of a paper, but because i genuinely like it
Dude I about fell out of my chair when you dropped the containerized CI pipeline. There are so many impressive things about this project, but that attention to detail (and respect for maintenance and tooling) is absolutely next level. Well done!
Seriously! He just threw that in there!
Superbe video! I’d be delighted if you made a video to explain more thoroughly how you used these states gates to make all the CPU parts, and even other things that you had to do to make it work. That’s really impressive, and I think I don’t even realise how much it is!
Seeing the world blueprint at the beginning of the video sent me into shock honestly. I’m currently an engineering student and I’m just starting to grasp how monumental of a task this was. Insanely good job!
I’ve never even seen or heard of anything close to this in Terraria. The amount of dedication this stuff seems to take is absolutely insane.
I know right??
Terraria is already good on its own.. but this?!
I've been programming professionally for 6 years and this is cooler than anything I've ever made. I LOVE that you made a whole-ass mod just to facilitate development of the main project. Now that's committent!
This video was an instant sub for me. There are very few youtube videos that I watch that make me say, out loud, "this guy is a genius"
this is crazy! You are actually insane! This is one of the most impressive things I have ever seen anyone do in a video game
There are few people that can actually do this. There are even fewer people who would do this. And only one person who actually did this. This touches skills on so many levels of difficulty and perseverance... This is nerd transcendence that requires Kardashev scaling to appreciate and understand.
I salute you!
Simply amazing! A really great archivement!
What an absolute legend! I’m a principal engineer with 15 years of experience, worked on a bunch of low level stuff and I got to say that I loved everything about this. Well done dude! This is on par with the crazy stuff tom7 does! Absolutely incredible!
Hey man.
I'm a software dev, and this is hella impressive. I would love to see a more technical video.
Keep it up man, you're pretty incredible!
I'm an IC designer, and projects like this are like the early days when the "layout" was done by hand with only primitive tools to help.
Comp sci student here, this is absolutely incredible! Relogic is missing out if they dont pay you to bring your wiring optimisations to the base game
"developer hire this man" is usually like totally unrealistic but i'll make an exception (ha-ha "exception"), this is amazing, re-logic hire this man
they probably wouldn't be able to offer a high enough salary
The optimization he did is very basic: he just introduced a cache to store wiring sources and targets.
While the whole thing is very impressive (including the fact that he created his own mod), it would not make sense for any developer to hire the guy just because of this very trivial optimization alone.
Also, it is likely that this wasn't done in the original game because it just wasn't needed: the original game was not necessarily designed for very long and many wiring connections in the first place, because that wasn't the whole point of the game, it was just a minor aspect of it all things considered. Optimizations are usually done after measurements show that a given area is a problem/ bottleneck, and in this case it really isn't for "normal" play.
@@julealgon ok but this is a better signal than anything you could uncover in a few interviews
@benbrook469 Sure, it shows practical experience, which is a good sign indeed. I'm just saying it is still a fairly simple optimization that most candidates should already be aware of.
Such an amazing video. Great work.
Mindblowing ! Great concept and great video !
This is by far the best terraria video I have ever watched, insane accomplishment, I knew people could make games inside of other games but the work that you put into this is unreal. Congrats and good luck making mini-terraria!
1:20 You just pissed us off but we're too amazed by this computer to do anything about it
I still gonna give him that dislike
incredible - go on! you might reach the next level of technical development in your lifetime =) Hats off
I am so impressed by this. Not only did you make a computer which can only execute a single task, you made a PROGRAMMABLE computer. As someone who is nearly done with getting their degree in computer science I can say that this was such a cool project. And that is without even mentioning everything surrounding that like mod making, video editing and more. My hat is off to you!
But can it run doom?
This guy is asking the important questions
Oh yes it can my friend ( I hope)
Doom originally runs on 32 bit, so theoretically yeah. I don't know how you'd go about programming it though,
“Ferb, I know what we’re gonna do today!”
Did you even watch the video
This project is beyond impressive! The fact you made your own mod to improve the games performance just so you could create this is insane!
Everything this young man has done is the same kind of ambition I've had for the past 20-25 years. I started off in C++ for building a 3D Game Engine from scratch. After a few iterations of that, I then got into trying my hand at Hardware Emulation. I worked on an NES 6502 CPU/PPU/APU hardware emulator in C/C++. While doing my research into this I came across Ben Eater's UA-cam series on building an 8-Bit Breadboard CPU. While following his series I searched for a circuit simulator program to build his design and I came across Logisim.
I then implemented Ben Eater's CPU within Logisim. When I did this project, I refrained from using many of the built ins. I didn't use their built in registers to make a register file, no. I used my own registers built with the programs basic logic gates. I didn't go as far as building it from discrete transistors, but I did do it using only basic logic gates and muxes. I even showed the entire bus and used LED lights in the same fashion as Ben did. I also didn't use the built in 7 Segments, I implemented his logic. When it came to writing the binary microcode for the control logic that he programmed or flashed his EPROM with, I had to write a similar program to his within C++ instead of the C like language - library for an Arduino that he used.
I mention this because of two main reasons:
1. I understand all that this young man has done as it's in line with the very same thing that I'm intrigued by. Watching a video that he produced of what he's done to build his architecture within an actual game is very impressive to say the least; especially when that's not the primary goal of the game. Yet to see that it can be done and to prove that the game itself is Turing Complete is truly an amazing accomplishment. I've built a working CPU in a game where the game itself is about making one. I built one in a Steam Game called Turing Complete. I know what it takes. It takes a lot of time and dedication. The amount of work is not insignificant. Impressive!
2. The fact that he even built his own mod for the game that changes the game's internal mechanics to improve its efficiency in order to remove the main bottleneck to make his CPU run at a decent rate is impressive in of itself. And his ability to go and do just that: "Make Your Own Tools" to get done what needs to be done shows great ambition and integrity. This is a testament of his determination. Outstanding!
If I was to ever put a team together I wouldn't hesitate to have this young man on that team. I'd have him alongside with Ben Eater, 3 Blue One Brown, javidx9, The Cherno, Jason Turner, Bisqwit, Jonathan Blow, the person who built the music video Sandstorm in Factorio, and a few others. This would be the kind of talent I'd be looking for.
Something you should definitely check out is the 8-bit pipelined CPU build JAM-1, and the peripherals like video card from scratch. It's so far along now that he vastly outperforms other 8 bit computers of the era and gets about 3 MIPS from a 4mhz clock. He wrote a Wolfenstein 3d engine and runs it realtime at like 22fps, textures and all. It's the best I've seen for explaining pipelining
@@mikafoxx2717 Nice, now that's a feat of engineering!
Another worthy mention is James Sharman's build... It's quite impressive.
@@skilz8098 That is James Sharman's build!
@@mikafoxx2717 Oh okay, I think I misread what you stated earlier, and didn't put the two together. Thank you for the clarification. Yeah, his build is amazing. I've been following him nearly as much as Ben Eater.
A bit different than them, is Ross McGown. I've been following his series too. The main difference is he's building his in either Logisim or similar circuit simulator. He's built and designed his own ISA, assembler, etc... Recently he's been implementing his own library of math functions within his assembly. He's at the point of using his sine & cosine functions to do Fourier Series analysis. It's a really good series.
This is fascinating and I'm glad the world has people like you in it.
This guy uploads a first video to his channel, designs a gate for the CPU, engineers and optimizes the algorithm for the CPU, develops a mod to massively speed up the wire mechanics for Terraria, and, most importantly, uses Rust. Your work is marvelous, please keep up the good work!
I study Computer Engineering in college and I'm impressed. It killed me (in a good way) when you showed that you even made a CI pipeline for the project. Also the fact that you had so much dedication towards the project is really cool! Great work, man. This is plain awesome.
This is amazing, man, nicely done, truly
It is an understatement to say well done! I understand computer system architecture and digital logic. It's a big thing just to undertstand all of that. Not to mention at a level you can use it to create a virtual computer. But to do it in a game, is a wondeful application of all that knowledge. Great video! Good luck with everything. You will find it easy getting a job! If you dont have one already!
This is so insanely impressive, wtf. Would definitely love to watch a detailed breakdown of the more technical side of things!
as a terraria vet with 2900 hours, this is the most glorious thing i have ever seen
Fantastic work mate, bravo.
I am so thankful there are people as smart and talented as you in the world! Best of luck with all your future inventions.
I don't even play Terraria, but as a novice programmer, this is impressive.
as a novice programmer that plays terraria, that is even more impressive. Never knew that someone would push that simple wiring to the limit
This guy is American, right? (Can't tell the difference between American and Canadian accents). If so he had better be shortlisted for those new chip factories TSMC is going to be building there. They really need talent.
I don't play Terraria and don't program, but as an onlooker who enjoys seeing what people can program, his work is impressive.
Would be good to see people keep adding: build another Terraria inside the game and another pong game inside that!
you should try it y. you wont regret it
@@fansignal someone made minecraft in minecraft, and is working on making minecraft in minecraft in minecraft
A technical video would be interesting. You may be alone in the centre of that Venn diagram (I don't care much about devops) but embedded rust and computing in games is always interesting. I did some smaller scale stuff in Minecraft back in the days.
Good to know! The stuff the Minecraft community has done similar to this is also super impressive
They definitely aren't the only one at the center of the that venn diagram--- they do however have far more persistence than the rest of us!
@@TheMillyBaysYou can say ‘he’ bub
@stumpzerd5921 why do you care?
Yes I would love a deep dive into this
amazing stuff dude, literally amazing.
This is mindbogling - have seen some 8/16 bit stuff done in Minecraft - but 32 bit in Terraria is unbelievable impressive. The dedication alone... wow..
In real-world digital logic, these gates exist! They're called transmission gates. They have applications (mainly multiplexers iirc), but since they don't amplify their output like inverters do, they aren't found on their own.
Okay we need an item in the game to celebrate this video and this man. This is freaking incredible!
Computer item where you can pack all these wires into a single item... I have never played Terraria
@@storytellerjack22yeah there's already stuff like that lol
Next Terraria patch should have: "Fixed logic gate timings and significantly improved wire logic"
ping pong paddle
Vote passed.
Hey, I liked the video a lot. Also I really appreciate your choice of music in this video. The classical music sounds very fresh compared to the endless lofi hip-hop tracks or game soundtracks other videos use.
Thats marvelous! Thanks for an educating and ispiring content!
🤯 Not only the project is really impressive! That alone is already enough, but you also did all the polishing and even modified the game it self to get it running faster. And you drove it home with a really good product video. The way you explained the cpu is understandable for everyone! Just 🤯
I got my bachelors of science in computer and system’s engineering, and I don’t think I could pull this off. Truly impressive!
That’s because your degree is worth shit
Greetings a former engineer bachelor
Oh wow
The state of your education
You most likely could, given enough time.
maybe you should go back to school?
education and iq are completely different things
That's an impressive feat! Back when I used to play Terraria I built a world spanning teleporter system. Each teleporter "pad" took me to a receiver pad in a particular farming area. I can't stress it enough it took so much trial and error to get it to work. It didn't require as much wiring as a project like this but even then it would lag the game pretty bad when loading up the map. The few friends that also played Terraria had their minds blown when I showed them my 6 month long project. lol
I'm programmer and have so much love about everything about software engineering I can say clearly that this is masterpiece and you'll someone very talent and give the world something very impressive in the future...just keep going bro❤
I used to think Terraria was solely a 2D building and fighting game. It's incredibly exciting to witness the remarkable creativity you've poured into crafting something this extraordinary! Please continue your fantastic work.
i remember being blown away by this project when you first showcased it but the quality of this video is equally as impressive, excited for more stuff and or things to be built
Yeah. Great video production quality as well.
This is SOME motivation right there. Wish everyone was motivated like that.
Sensacional mano, simplesmente incrível, você tem um futuro brilhante pela frente ❤
This is incredible. Please become one of those people that creates incredible things the benefit the world. You've got the sheer brilliance to do it and all the time in the world to make it happen. I hope I see your face on something world changing in the future.
everything benefits the world silly Billy
well what if I somehow manage to delete the world from existence
that doesn't benefit it very much
@@stuart6478 I wouldn't say everything
This is incredible. Most people watching this may not recognize how significant this achievement actually is.
You have absolutely cemented your place in the programming hall of fame.
It’s truly beautiful.
And to top it off, your video production is top tier quality.
I’ll be following you closely because you are clearly destined for great things.
As soon as you mentioned pipeline compliance checks I immediately made sure I was liked and subbed
mad respect for this kid make us all look stupid. hope you get the best in life. much love
Bro this is so awesome. People making computers inside of games might be my favorite thing in gaming tbh.
As a factorio player, and a programmer, I absolutely loved this video. You have an extreme amount of dedication and determination.
You earned yourself a new subscriber for sure!!
"The game engine is too slow so I made it better" is literally what made Factorio the top 3 game on Steam at launch. The devlogs going into bit level optimisations just to get a little bit more performance was insane (I started playing back when belts moved physical objects and 1k SPM was a dream, now that's the starting point for an end game base).
I’d love to see follow up videos on more of the details. This is super cool
this is amazing, congrats!
What impresses me the most is the dedication you have to make it a truly complete project, not just a hobby one. RISC-V compliance, the whole dev ops pipeline, regression testing, just simply amazing
Red needs to see this. I’m 100% sure he would gladly introduce and item or just anything to resemble such an achievement for the Terraria community. Great job!
This is the craziest project i've ever seen, and i've seen some really crazy projects!
So cool. You have an insanely bright future ahead of you.
This is hands down one of the best videos I've ever seen. The amount of work and detail is just unmatched.
I was once proud of my 10ish year old self for learning spectrum basic and being able to code simple games on my rubber keyed spectrum 48k. That was before I watched this video. Now I feel stupid.
You should be proud of what you have done here. Not just on a technical level... You're presentation is impeccable.
I say this at a time when the video is sitting at around 84k views: you'll be a superstar engineer one day. Just remember to also take it easy and enjoy everything you do in life.
Wow. Just wow.
Comparison is the thief of joy
@@bobedwards8896 also a source of.
@@NunoMaiaexample?
@@Flairisliterally if you are better than someone, you are joyful
I’m a intermediate python programmer and the fact you simulated logic gates in terraria and also wired everything up so neatly
Blew my mind, this was wildly impressive and I’m glad I found this video
logic gates are complex as hell and they are also very useful to have since there is so many ways to use one
“When”
“If”
“Or”
Etc
love from Sweden
can see bright future in front of you . all the best young man