Coding Communication & CPU Microarchitectures as Fast As Possible

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

  • @UnknownXV
    @UnknownXV 9 ปีที่แล้ว +503

    I still don't know how any human being ever invented a transistor. Who the hell got the idea that arranging a few atoms of silicone together and turning them on and off would lead to full-fledged computers?
    The very design of computers amazes me, and mostly because I don't know how they were ever invented. such complexity, it seems hard to fathom someone stumbling upon the idea.
    Imagine a world with no computer, and then you have this idea to build one, and somehow figure out how to make it understand and process human language code (inventing this compiler program too) AND inventing a screen that is capable of receiving processed information to project an image that makes sense to us.
    Utterly insanely.
    At any rate, damn am I glad someone figured it out, life is literally a new world with computers.
    It does make you wonder though, go back 500 years and all the people back then were operating under the same laws of physics and had the same resources. They could of had computers, had they just of known to combine the right amount of materials together to process computers and electricity. So, can you even imagine what we're missing now? What will be obvious in 500 years from now, that we haven't the faintest clue about now?

    • @skifree0
      @skifree0 9 ปีที่แล้ว +103

      UnknownXV its complicated if you think about it. but its more as if the concept of modern cpus continously improved from the previous concepts for decades now. Its like thinking how calculus is immensely difficult if you have never seen math in your life, but after years of education its more tolerable.
      in a simple concept we started with transistors, basic switches that turn on and off based off the control gate. with the power to control current at such a fast speed, we were able to be build logic gates out of them. out of gates we were able to build simple circuits for computation (like full adders, and basic memory like sr latches and flip flops). from there we started bolstering these simple circuits, adding more features (like more math functions, more of the units themselves). and after decades of just adding more, and some complicated circuits to control all of this hardware, we get to the modern cpu.

    • @OfekAzulay
      @OfekAzulay 9 ปีที่แล้ว +118

      UnknownXV You think about it the wrong way.
      There was no 1 person who woke up one day and thought about how to create a computer from scratch.
      Actually, one can argue that scientists have been working for over 400 years on the required components for such a complicated machine. Many discoveries, laws, theories and experiments had to be done throughout this time to achieve that knowledge.
      Many people from different disciplines like Mathematics, Physics, Electrical Engineering, Chemistry and much more have been working together to produce such inventions, and have been piecing the puzzle together very slowly. All those integrated pieces were invented or developed mostly independently (and sometimes multiple times by different people) because they were always built on former knowledge (as the ones before..). Most of those inventions did not even have "computers" in mind, but they were later used to aid in the process.
      The first transistor was not on a tiny silicon, rather a big device. It took time and effort to get it there.
      The process described in the video is really dumbed down (unfortunately it's impossible to understand all the pieces in a 5min video) but the process can be divided and then divided again (and again..) into small pieces which humans understand, and when you piece it all together it looks to be incomprehensibly complex, but the underlying pieces aren't.
      Think about it like a puzzle of pieces 1,000,000, it's quite insane to approach it like that, but if you were given the entire puzzle in chunks of 1,000 pieces, it definitely becomes more manageable (the example is not 100% correct but it might help you understand).
      Also, modern computers (and their functions) were basically only possible to create (whether it's software or hardware) using computers in the first place.

    • @UnknownXV
      @UnknownXV 9 ปีที่แล้ว +21

      Ofek Azulay The puzzle analogy is pretty good. Makes more sense.

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

      To be fair it wasn't one person doing all the work. Someone designed C++ because they wanted to make Cees picky and less prone to mistakes and ease the way to program. Someone decided to decrease the size of a computer and changed transistors to a silicone rather than lamps.

    • @coon-si3ce
      @coon-si3ce 5 ปีที่แล้ว +20

      It didn't start with silicone, it started with tubes... essentially light bulbs. Wired together, light bulbs can create all kinds of logic pathways. Given that there is more to a tube than a lightbulb. Anyway from there, there was a long series of small steps that gradually got us to where we are today. A jurney of a thousand miles begins with...

  • @roxasmaker
    @roxasmaker 9 ปีที่แล้ว +637

    "Hey, that processor is going a little too fast. We're going to have to give you a ticket."

    • @ryomasjibeng8343
      @ryomasjibeng8343 9 ปีที่แล้ว +11

      Roxasmaker well shit, imagine if that happens in real life

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

      ***** well... You get a help desk ticket, right?

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

      apparently, i haven't overclock yet haha

    • @LianSirenia
      @LianSirenia 9 ปีที่แล้ว +57

      Sounds like something Comcast would do if they had a say in cpu speed...

    • @MegaBigDik69
      @MegaBigDik69 9 ปีที่แล้ว

      Roxasmaker If you go for world record clock speeds you are even looking at prison time.

  • @veazix
    @veazix 9 ปีที่แล้ว +1214

    "Architexture" :D

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

      veazix Im not alone!heard it.

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

      veazix and it wasn't just one time.. he did it again on the car analogy :)

    • @axislexington8042
      @axislexington8042 9 ปีที่แล้ว +11

      veazix well he does call "graphics(Grafiks)" card as "Grafis card" countless times and that didn't bother anyone....

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

      veazix wanted to post this myself.

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

      Axis Lexington i think its cos hes half french/german or something. Not sure tho

  • @bennyuoppd33
    @bennyuoppd33 9 ปีที่แล้ว +612

    Instructions unclear, over clocked my car. Killed people in front of my car. Voided my warranty.

    • @craseder
      @craseder 9 ปีที่แล้ว +9

      Benny Kolesnikov I laughed wayyyy to hard at this xD

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

      Instructions also unclear, my dick stuck in Benny Kolesnikov 's car.

    • @Account-rb6xg
      @Account-rb6xg 9 ปีที่แล้ว +1

      Benny Kolesnikov Ah, the freedom warranty.

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

      Benny Kolesnikov Your car clearly needed more fluups

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

      Try adding more voltage.

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

    2015: “An average cpu has millions of transistors”
    2019: . . .

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

      Then amd epic release.......

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

      BILLIONSSSSSSSSSSSSSSS

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

      Laughs in 2020

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

      worlwr2 yup me

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

      Dunno why he said millions they already had billions back then

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

    Put your pins where i can see them! now... slowly exit the motherboard... did you know you were driving with a busted RGB?? you also didn't slow down for the t-junction

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

    We're designing a basic CPU (not every instruction is available, just basics like add, subtract, move, store, load, compare etc) for our Computer Science class right now and it's awesome. I'll add a little snippet of blabber for anyone a little bit more interested in the specifics of how you go from 1s and 0s into instructions. It's kind of hard to condense into simple terms, and I might just sound like a madman talking about nonsense, but hopefully it might explain something!
    A compiled program is just a list of instructions. An single instruction would be something like "add r0, r1, r2" which means we want to add the value in register 1 with the value in register 2, and store that result in register 0. Say we are using 32 bit architecture, this means that each instruction we use is represented by 32 digits of 1/0s. We split these 32 bits up into different parts to represent information about what instruction we want to run. The CPU takes an instruction, splits it up, and does the various instructions based on what was fed in.
    So for example in the ARM architecture, the leftmost 4 bits represent the condition of the instruction. If it is 1110, that means we should always run the instruction. If it is 0001, that means we should only run the instruction if our condition flags are set to "not equal". We would have to run a compare instruction beforehand to compare 2 numbers which would set the condition flag registers (like "cmp r0, r1" which compares the value in register 0 with the value in register 1, and sets our condition flags to show the results of the comparison telling us stuff like if it is greater than, less than, equal to).
    A typical instruction would (for a data-processing instruction) would have 4 bits of conditions, 2 bits of "op" (representing what kind of instruction we are using, e.g data processing vs memory, 6 bits of "funct" (this tells us what our actual instruction is, for example add which is represented by 0100), 4 bits of Rn (the register that contains the value we are using for the instruction), 4 bits of Rd (the register where we store the result, e.g. 0011 in binary means 3, so we store the result in register 3), and 12 bits of Src2 (the second value we are using which can either be another register, or an immediate value). So with "add r0, r1, r2", Rd is 0000, Rn is 0001, and Src2 contains 0010 (along with some other information like bit shifting and such).

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

      We use the textbook called "Digital Design and Computer Architecture". It didn't tell us everything we needed, but helped us design the basic circuits which we added onto with our own logic. There's this awesome free software called "Logism" you can use to design circuits. I would recommend learning how to do basic c programming, learning how to create that same program in assembly, and then learning how that assembly translates into machine code. Hardest part about this stuff is that it is really hard to find answers online, but if you're motivated and good with textbooks then you should be good with the book!

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

      I kinda learned it the other way around from "ands" and "ors" to flipflops to master slave to counter ... etc.. But we never made a CPU, we just programmed one.

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

      Yeah we covered flip flops and the circuitry after we made a "compiler" that read compiled assembly machine code and did the instructions in C.

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

      This comment is a year old.
      Man I wish I was smarter back then. Had to leave university, I literally just burned money with no results.
      I wanted to be a programmer so badly lol, or anything related to IT engineering.
      I ended up as a network technician (and I love it). Industrial routers are also a challenge, but not as a CPU.
      I'm just literally too stupid for being a programmer or hardware programmer.
      Wish you guys the best! Do my dreams :D

    • @GiozRockin
      @GiozRockin 2 ปีที่แล้ว

      I still don’t understand how people go a transistor to obey a command like store.

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

    I've been researching CPU Architectures for about 5 hours and this one video explains it better than anything else I've seen in that time. Well done mate.

  • @justSomeUserOnYT
    @justSomeUserOnYT 9 ปีที่แล้ว +61

    Did he say "millions of transistors?"
    Try billions. The Xeon from 2012 has around 5 BILLION transistors.

    • @iascan
      @iascan 9 ปีที่แล้ว +27

      Jeremiah Pierce But 5 billion is really just 5000 million. So, hah.

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

      Although you are correct, that's not the general way it is said. Nobody says I have sixteen thousand megabytes of ram.

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

      Jeremiah Pierce I know :P

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

      He said "the average processor..."

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

      Mohamed Zakaria So you don't have a Xeon? What an amateur...

  • @austinwachukwu
    @austinwachukwu 9 ปีที่แล้ว +171

    As a Computer Engineering major, I'm proud to say that this is actually a reasonably good explanation.

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

      It's an extremely poor explanation. Half is directly wrong, even objectively. It's really incites a complete facepalm, a major one...

    • @thisisrtsthree9992
      @thisisrtsthree9992 5 ปีที่แล้ว

      @@TheMrTape what is wrong though? I'm a noob in this but I understand what I came to look for (i.e. that the microprocessor carries out instructions using transistors in logic gates, and also cleared things from other videos, like that these instructions are possible with the voltage that is given to the microprocessor with each cycle of the microprocessor's clock)

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

      ​@@thisisrtsthree9992 #00:00 To program, I'm programming, I'm a programmer, not code, coding, coder. A clear text program is code as much as any spoken language is (not), even though refereed to as source code, only what it compiles to, assembly instructions, is by definition code.
      #00:15 and #0:25 CPU's doesn't take "code" directly, it's not compiled (mentioning later doesn't make it right).
      #00:28 Both can be represented by letters and numbers if translating the binary they both consist of to their respective character abstractions; this representation is only relevant for humans, as the CPU can only see the binary; my text is seen as binary by any CPU, abstracted for your understanding. It's a choice whether to represent something as binary or otherwise to humans; it's irrelevant to the CPU.
      #0:43 There's not English/Chinese etc. versions; it's not whatever language you want. It's always English. You may name your variables or make comments in any language of course, but the statements and functions are all English.
      #0:45 There's no sets of instructions when you're talking source code, it consists of statements, functions and operators; instructions exist only in machine code.
      #0:48 You can't chose whatever programming language. The languages shown in the background are HTML (not a programming language but a markup language) and Javasctipt, both of which are interpreted rather than compiled to machine code, thus irrelevant to what they're talking about.
      #0:50 A program only needs compilation if it's a non-interpreted language (eg. C, C++, Java rather than eg. Javascript, python, PHP). Again, the programs shown in the background doesn't need compiling to work; in this case no further processing is needed for the CPU to understand, because it doesn't, it uses a translator program to interpret the program in real time.
      #1:03 A compiler doesn't check for errors, it "checks" for wrong syntax (grammar) by not being able to compile. Also "object code" is a deprecated term for machine code.
      #1:13 The reason a CPU can interpret machine code/instructions is that this is what it's designed to interpret as instructions; the machine code is 0's and 1's as much as the clear text it's compiled from, since every character is an abstraction of 8 or more bits; it's the exact same thing the CPU sees, always, and this is the only thing it could ever see, 0's and 1's. The differentiator is that the bits of an instruction translates to working CPU functionality while bits of a character translates to the valid character. They're implying that nothing of it is binary before it's compiled, as if the CPU could understand characters directly, as opposed to through abstraction via the 2 "letters" it understands, 0 and 1; the letter A means nothing to the CPU, only A's binary representation: 1000001. Binary is completely irrelevant to any of this, it's always fucking binary.
      #1:17 Implying that binary is something modern that weren't always the only thing used for computing.
      I won't bother with the rest. It's all so far of that you're better off assuming how it works. Most of what's presented in these videos are layman assumptions anyway. The (mis)information put forward is worse than a basic school project involving actual research and understanding.
      #3:11 Only true and relevant point put forward in this video.
      Overall everything gainable from watching is an extremely dumbed down and twisted understanding of how CPUs work.

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

      @@TheMrTape ya ma dude, thanks for taking the time to write that long reply, I checked some and I saw you are right!! so if anyone peeps this answer they can see too

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

      @@TheMrTape You should be an engineer teacher! wow i learned lots and actually wanna learn more now!

  • @Shady
    @Shady 9 ปีที่แล้ว +464

    Finally someone who explains this well.
    Good video. :)

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

      Shady I only like the videos where Linus / Taran / Luke explains

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

      Shady I never liked that Linus guy's voice but he'll be back.

    • @HandyFox333
      @HandyFox333 9 ปีที่แล้ว

      Shady I never liked that Linus guy's voice but he'll be back.

    • @Gari.Hughes
      @Gari.Hughes 9 ปีที่แล้ว +20

      Shady that's the beauty of this channel, they may not explain every detail, but they explain enough to get a basic understanding of the subject

    • @kevinbs05
      @kevinbs05 9 ปีที่แล้ว

      Shady I've done this for years, and I'm only finally starting to get it all :).

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

    2:15 As a CS student, I might be taking a bit too much pleasure when hearing that my hobby is immensely complicated.

  • @oddball0045
    @oddball0045 9 ปีที่แล้ว +57

    The processor die at 1:45 is a 6502 :)

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

      oddball0045 engineer?

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

      joon9498 www.visual6502.org/JSSim/index.html

    • @fogglee
      @fogglee 9 ปีที่แล้ว

      ***** Nuu, Z80 >:)

    • @ktxed
      @ktxed 9 ปีที่แล้ว

      Commodore 64

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

      joon9498 Self proclaimed engineer? then yes :) I'm in 10th grade of high school.

  • @reidarcederqvist
    @reidarcederqvist 9 ปีที่แล้ว

    I have tried to explain this topic for friends but i have never come close to the quality of this explanation. Well done Luke

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

    I'm in the first year of system's engineering and I learned this today, so awesome to know this already lol

  • @38911bytefree
    @38911bytefree 9 ปีที่แล้ว

    This guy is very clear. Never though it was possible to talk something like that in just 5 minutes. The script is very good and great edition.

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

    Am I the only one that noticed "micro architexture"

  • @gaetanoberardi2127
    @gaetanoberardi2127 5 ปีที่แล้ว

    These videos are so much more clear than any of my lecturers ever were.

  • @ingolfura.4327
    @ingolfura.4327 9 ปีที่แล้ว +125

    code is compiled into assembly, and from there to binary irc

    • @Account-rb6xg
      @Account-rb6xg 9 ปีที่แล้ว +4

      ingolfur ari Couldn't you write a compiler in binary, that compiles directly to binary?

    • @aceflamez00
      @aceflamez00 9 ปีที่แล้ว +26

      Franco Selem imagine how hard and time consuming that would be

    • @Account-rb6xg
      @Account-rb6xg 9 ปีที่แล้ว +4

      Miguel C Lol I know, I'm just being a bitch lol

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

      Franco Selem lol ik you weren't serious.

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

      Franco Selem You could in theory, but good luck trying to find someone willing to code something even remotely complex in binary.

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

    This was one of the most interesting videos on this channel in a long time. Keep up the good work!

  • @ChrispyNut
    @ChrispyNut 9 ปีที่แล้ว +17

    GJ Slick, that's a really tricky few topics to try and break down into layman's terms, let alone doing them together in a 4 minute video. Out-fucking-standing dude.
    I'm curious how long it took to actually script this episode #becausereasons

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

      Peanutsreveng3 I agree, most professors spend several hours just introducing the topics.

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

      davidabeats because that's what they are paid to do. But explain it so you get every little information that you won't even use most of the time just so they can test you on it. It's a dick move. But they need to do something for the period.

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

      Someone that see's the inefficency inherent in monetary system, sweet @ BrownieX001 :)

  • @jimtaku
    @jimtaku 9 ปีที่แล้ว

    Wow. This was super simple, and easy to understand. I code, but I'm a highschool drop out, and I never learned any of it formally. This is the first time I've heard this explanation in a consumable manner.

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

    On the last Techquickie I asked about a vid talking about freelancing. On this one I get a freelance sponsor roll....I see we're making progress here :D

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

    Loved the heck out of this video ( and many of the other "tech quickies" )! The concepts in the video were explained super well and straight to the point!

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

    As a C++ programmer i can say you did well. Nice video

    • @UnknownUser-fg3fs
      @UnknownUser-fg3fs 9 ปีที่แล้ว +1

      Ye, C++ & Python ftw.

    • @CrackedDylMil
      @CrackedDylMil 9 ปีที่แล้ว

      Java and vb.net over here.

    • @UnknownUser-fg3fs
      @UnknownUser-fg3fs 9 ปีที่แล้ว

      ***** Noob, web development is child's play.

    • @UnknownUser-fg3fs
      @UnknownUser-fg3fs 9 ปีที่แล้ว

      ***** You might want to take some English classes, brah...

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

      ***** what on earth! Shame on both of you! We're here to have fun, and learn, and you two are flaming each other!

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

    Cool coincidence: the laptop at 0:44 was what I used for every one of my programming projects through college. The layout is still my favorite laptop layout (if only the up arrow replaced the right side of the right shift key, rather than being squashed).

  • @NikolajLepka
    @NikolajLepka 9 ปีที่แล้ว +14

    Not all languages run through a compiler though; some go through an interpreter, which is a program that rather than translating your code into machine-understandable bits and bytes, runs the program directly instead. Python, Ruby, and JavaScript are such examples.
    About the instruction sets: The labelling for 64-bit architectures varies from website to website. Some write it as x86-64, some write it as x64, and some again write it as AMD64. These all refer to the same thing, the name just varies depending on who you ask.

    • @EdrulesokTV
      @EdrulesokTV 9 ปีที่แล้ว +9

      Nikolaj Lepka Interpreters basically compile the code line by line and execute it immediately. While you are correct that there is a difference between the terms Compiler and Interpreter, all this video needed people to understand was that source code is not directly understandable by computers, so it needed to be converted first :)

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

      Edrulesok what you're referring to is a just-in-time compiler, which compiles the code line by line. An interpreter doesn't, it just tries its best to parse and execute the code directly

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

      Nikolaj Lepka You should go and read up about this :)

    • @MrJamesBrunton
      @MrJamesBrunton 9 ปีที่แล้ว

      Actually, they are compiled. Whilst I can't speak for JavaScript or ruby, I can say with 100% confidence that Python does go through a compiler. If you don't use the interpreter and just use the command line to execute a python program, a .pyc file will be generated (Python compiled), it just generally gets compiled at a different time by the interpreter.

    • @NikolajLepka
      @NikolajLepka 9 ปีที่แล้ว

      James Brunton Then explain why PyPy is different then

  • @arielvarela7206
    @arielvarela7206 2 ปีที่แล้ว

    You nailed it, brother. This video sums up everything I've looked up across the internet for hours.

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

    Funny thing he mentioned source code in Chinese. There actually is a programming language in Chinese, its syntax is very similar to Visual Basic.

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

      Yeah, stolen from Visual Basic.

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

    as an electrical engineer, this is accurate. Great job in explaining slick (y)

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

    do a vid on fragment/disk cleanup (why its recommended etc..)

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

      you only de-fragment a hdd since a hdd is operated by a needle reader (like a big record)... to access data it has to move across the disk platter, over time and multiple writing/deleting from disk can cause gaps to occur over the disk. This is enefficient since the reader is moving over black space and so de-fragmenting basically condenses the bits to reduce the amount the reader has to move =)

    • @TealJosh
      @TealJosh 8 ปีที่แล้ว

      This is also half automatical, which is why it's rare nowadays to find significant de-fragment from hdds.

  • @ministerofpropogandaii5718
    @ministerofpropogandaii5718 9 ปีที่แล้ว

    i didnt really learn anything new,
    but for some reason looking at that cpu graphic. while thinking about boolean logic, and my computer running in front of me in its entirety..
    it was just a really awe inspiring moment

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

    OMG , how do you guys know the car YUGO .... I didnt see this coming

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

      lol the only time I've ever heard about that discontinued Russian car is in a book called, "Nick and Norah's infinite playlist" . so yeah. talk about obscure.

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

      Jake Morel it is not russian, Its from Yugoslavia (Serbia,Croatia,Bosnia,etc)
      USA Destroyed this big country back in the 90s. just sayin

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

      +euer Vater oh my gosh whateverrrrrrrr

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

      Pa mi smo poznati brate , samo nas ovi ameri ...

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

      +Jake Morel so you are american or kanadian?? Whatever

  • @BIMALPARAJULIBDS
    @BIMALPARAJULIBDS 3 ปีที่แล้ว

    You know what,.
    You just explained more in these 3 minutes than our prof did in an entire semester.

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

    If you think that Yugo is bad,you newer drived Fica 650 .:D

  • @DonchoMazhlekov
    @DonchoMazhlekov 9 ปีที่แล้ว

    Wow, didn't think it would be possible to explain that well.
    Guess you really need to understand the topic perfectly if you want to explain it. And you did an awesome job!

  • @MisterSolitude
    @MisterSolitude 9 ปีที่แล้ว +25

    I remember when luke used to be called slick. Old times!

  • @Sai-zu2hy
    @Sai-zu2hy 9 ปีที่แล้ว +1

    Finally someone who explains this well
    thank you for making this video

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

    Does anyone remember when fry's great great great great great nephew from futurama almost got arrested for overclocking bender?

  • @GamersForTruth
    @GamersForTruth 9 ปีที่แล้ว

    While I already knew about most of this. Luke definitely explained it quite well. In a way that many more people could actually understand. Great job on this!

  • @cyb3ar897
    @cyb3ar897 9 ปีที่แล้ว +90

    So that's why AMD chips run so hot! All of their names have sexual connotations!

    • @911builder
      @911builder 8 ปีที่แล้ว +1

      +LogicOwlGaming That actually makes a lot of sense...

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

      nice

  • @myleswellington984
    @myleswellington984 9 ปีที่แล้ว

    Good job on explaining this complex topic in a way 'lay' people will be able to understand/engage with. I'm almost finished a Computer Engineering degree and understand all this quite well but often have trouble explaining these things to others.

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

    I'm so proud of myself,
    I understood literally everything he talked about.

  • @theThomasJamHO
    @theThomasJamHO 9 ปีที่แล้ว

    Still, it is pure magic to me how "turning the power off and on agan" contains information about what color one specific pixel needs to be. And how the compiler was developed in the first place . Magic

  • @Link-channel
    @Link-channel 3 ปีที่แล้ว +3

    A sentence like "in very complex ways" explains nothing. That's as much useful as explaining it like: "and then the CPU goes Salagadoola mechicka boola bibbidi bobbidi boo🎵".

  • @carriereplogle289
    @carriereplogle289 6 ปีที่แล้ว

    Trying to find something basic enough but still interesting enough for my computer tech class. THANKYOU!!!

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

    Could you talk about logic gates in detail next?

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

      JukaDominator LOL logic gates complicated as shit man dont think they will. GRAVITY FALLS FTW

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

      fishywtf Who knows man? Channel is all about making those complex things into simple, or at least manageable to understand information.
      Gravity Falls is da best yo.

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

      JukaDominator Logic gates aren't too complicated. There's not that many of them and the names are pretty descriptive, like the AND gate takes two inputs, if they are both 1 the output is 1, the OR gate outputs 1 if any of the inputs is 1. There's more of them but they are all intuitive. Put 5 of them together and you can make a "full adder" which simply adds up binary numbers. Multiplication involves repeated adding (or maybe new tricks in modern CPUs).

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

      JukaDominator in fact logic gates are really simple to understand. Just the combination of the is complicated part. All you need to know is a bit of binary logic

    • @MTMRPG
      @MTMRPG 9 ปีที่แล้ว

      fishywtf Logic gates aren't complicated. Using them in large combinations is somewhat complicated.

  • @symol30872
    @symol30872 9 ปีที่แล้ว

    So many people take technology for granted but when it comes down to it, its a fucking miracle that this stuff works as well as it does

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

    Yugo best car ever

  • @lewisaszman6800
    @lewisaszman6800 9 ปีที่แล้ว

    I actually enjoy Luke in this video. He does a really good job explaining this.

  • @blancfilms
    @blancfilms 9 ปีที่แล้ว +18

    Arcitexture

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

    Most of us already knew all this. It would have been cool to get a little more in detail on microarchitectures.

  • @AndrewBrownK
    @AndrewBrownK 9 ปีที่แล้ว +29

    you failed to mention interpreted languages or virtual machines. Not every language get compiled or gets compiled to machine code.

    • @498fun
      @498fun 9 ปีที่แล้ว +26

      Andrew Brown eventually they all do...when they do is another topic for (possibly) another video.

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

      Isotopic Design
      You could go to the trouble of saying 'compiled at runtime' but then we may as well call it interpreted. Yes, eventually all languages get converted to machine code, but I don't think 'compiling' is defined that simply with no temporal connotation. This is why there is a distinction between 'compilers' and 'interpreters' in the first place.

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

      Andrew Brown Who is still using 'interpreters' anyway? Most of the languages that were interpreted now have JIT compilers, noone is doing the 'line by line' approach anymore.

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

      Maciej Sopyło scripting is still interpreted (perl, python, bash, Tcl (ugh) )

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

      Andrew Brown Interpreters compile source code line by line and then run that code, so I guess they are also technically compilers.

  • @chunkytoads4509
    @chunkytoads4509 3 ปีที่แล้ว

    A serious thanks for posting this. It answers a question, which has been sitting on the edge of my mind for years!

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

    I've learned something new nice and it's also very interested😮

    • @juanvaladez4823
      @juanvaladez4823 9 ปีที่แล้ว

      Then why do we need more cores in a cpu can it just be a 1 core or is like having 4 cores the best right know

    • @RetroMyke
      @RetroMyke 9 ปีที่แล้ว

      juan valadez watch the episode on CPU Cores

    • @juanvaladez4823
      @juanvaladez4823 9 ปีที่แล้ว

      RetroMyke ok

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

      juan valadez
      Think of CPU cores like arms(with hands, fingers, etc). If you have one arm, you can do stuff OK, but only one thing at a time. Now if you have two arms, you can do things MUCH more efficiently, because you can distribute the work over 2 arms, or do two different jobs at once.
      Now, if you had 3 arms, you could do even MOORE work than with two arms, and more efficiently, you could distribute the workload over more arms, and could do more jobs at one time.
      This same analogy can be used to explain bottlenecking a CPU.(crudely, it's not a perfect explanation, but I think it gets the point across)
      Think of your legs as a GPU(or any part, really), and your arms as your CPU.
      No matter how many arms you have, and how fast and awesome they are, if your legs can only move at one step a minute, your arms are kind of overkill, because your legs simply can't keep up.
      Same for vice versa, if your legs can run at a million miles an hour, but your arm can only move one object a minute, then you can't work very much, because that arm is slowing you down.
      Hoped this helped!^^

    • @juanvaladez4823
      @juanvaladez4823 9 ปีที่แล้ว

      TheNONnoobXD it did

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

    This is the exact video i needed. Literally started with the question that popped into my mind earlier.

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

    this is outrageous!! why replace Linus with a man? truly truly...outrageous!

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

      lol

  • @greaterthanbut
    @greaterthanbut 9 ปีที่แล้ว

    Fairly good effort for something that takes atleast a semester to understand.

  • @goxy287
    @goxy287 9 ปีที่แล้ว +56

    Hey! Yugo isn't that bad! xD lel who am i kidding, it's common here though, even today.

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

      Goran Novakovic It's still a flaming pile of garbage, but it can't be that bad considering some of them are 20 years old and running. :D

    • @Doct0r0710
      @Doct0r0710 9 ปีที่แล้ว +17

      Goran Novakovic How do you know that spring is coming?
      Yugos begin to start.

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

      Daniel Borsos Yugos start in winter to its petrol engine not diesel so cold wheater doesent hurt it that much

    • @alankarlo1
      @alankarlo1 9 ปีที่แล้ว

      Goran Novakovic haha my dad still owns one haha we had to use it when our main car broke ,ps are you from balkan ? :D

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

      ItsAlan Yes, from Serbia :)

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

    That was a good review for the gist of two whole EE courses I took back in college :D

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

    Where did he find a YUGO?

  • @shubhankarshubham
    @shubhankarshubham 7 ปีที่แล้ว

    I was searching this from many weeks.
    Finally found it.

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

    The only thing i did not understand is that how these complex transistors after making switches on or off according to the code can understand and give the output. Its very complex. I wish i could work in intel to properly know whats going inside the processor.

  • @1stLuis
    @1stLuis 8 ปีที่แล้ว

    Just to add more info. if you are working with C, it is compiled as the video said.
    However, if you are using Assembler (What is known as "Machine language"), it also needs to be "translated", but this time it's called "Assembly".
    Depending on the programming language it might have a different process in order be interpreted by the hardware as an instruction.
    L8er!

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

    "Microarcitexture" right....

  • @goshinbi44
    @goshinbi44 9 ปีที่แล้ว

    This video is great! I'm going to send it to my cousin, he does lots of web dev but wanted to get a better understanding of what's happening closer to the metal. I had a hard time explaining it.

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

    im from Serbia, and I am offended by saying yugo is crap car

  • @BrownieX001
    @BrownieX001 9 ปีที่แล้ว

    This was so well explained and executed. Luke should do these all the time!

    • @ChrispyNut
      @ChrispyNut 9 ปีที่แล้ว

      I imagine there's collaboration between a bunch of the guys while writing various scripts.
      This was probably done while Linus was 'skiving off' and I know he's wanting to roll back his workload, so it's likely we'll have more Slick/B-Roll, Terran etc.. presented/written videos. Which, like yourself BrownieX001 , is cool beans to me :)

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

      Peanutsreveng3 I just enjoyed his presentation. He has become very comfortable with the camera and his deeper/calmer voice helps explain better to me. I know scripting is probably a group research thing.

    • @ChrispyNut
      @ChrispyNut 9 ปีที่แล้ว

      It's amusing to look back at earlier videos and see squirming Slick, but he can be proud of his achievements despite constant, daily criticism, flaming etc :)
      Then again, his Mum seems sound as well as his brother, so folks clearly deserve much credit too :)

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

      Peanutsreveng3 I agree. I enjoyed Luke's Mom and Brother during the WAN show They were a couple of my favourite co-hosts. They were awesome and the relation with Luke worked out for the show and had really funny parts.

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

    Who's watching this in the Kaby Lake era?

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

    This was so awesome! I have already researched alot about this and even designed my own basic CPU but this video really puts it all into place. This would have been so helpful when I was first learning this. I should just point people to this video instead of trying to explain it myself! It was also great how you explained binary.
    By the way Luke, I was wondering how much programming you do. I do a lot because it is free and I don't have any money for hardware but I didn't realize the tech tips team did it.
    Anyway, best tech quicky I have seen! Keep it up.

  • @JoseMendez-wu4om
    @JoseMendez-wu4om 9 ปีที่แล้ว +3

    That's not Linus :O

  • @DanielWillen
    @DanielWillen 8 ปีที่แล้ว

    Also, languages like Java don't directly compile to machine language but rather their own "bytecode" which is interpreted by a Virtual Machine. Saves you the trouble of writing a compiler for every platform out there. This is why you can run a piece of Java code on so many devices and why it's so popular with embedded devices.

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

    AMD Architectures all sound like sex positions

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

      Alright computer. How 'bout this time we try the Pile Driver ( ͡° ͜ʖ ͡° )

  • @LN3WOLF
    @LN3WOLF 8 ปีที่แล้ว

    Just took 'Digital Systems and Logic Design' and 'Microprocessor, Micro-controller and Assembly Language Programming' in this semester. Let's see, how it works in depth!

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

    Kakav Maserati, kakve picke materine, Yugo bre! hahaha :D

  • @pproba
    @pproba 9 ปีที่แล้ว

    You don't need to compile your source code in order to convert it to 1s and 0s, since source code is already nothing else but binary information interpreted and displayed as text. The language specific instructions in your code need to be converted into (eventually) instructions which are part of your processor's instruction set, that's why you need a compiler.

  • @wickeddr
    @wickeddr 9 ปีที่แล้ว

    wow you really did a great job making this video verry straight forward and profesional but yet a tad bit of humor! i loved it!

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

    i love techquickie explaining all computer & technology materials, can you next time post a video about cloud computing, robotics, data science, and artifical intelegent??

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

    Always wanted to know that ! I was going to know it eventually since ingeneering processors is what I want to do for a living but it's nice to have it explained in a short format. (I know what I'm going to study because of LinusTechTips channel, following since way back in 2010.)

  • @ThatSocialKev
    @ThatSocialKev 2 ปีที่แล้ว

    thank you for making these videos so i can watch them at 1 am

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

    5 years of college wasted... you made it understandable in 5 minutes

  • @DavidTechHD
    @DavidTechHD 9 ปีที่แล้ว

    Really good broad description of an very difficult CS concept. Great video.

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

    Since he brought up cars, the transmission is really a big analog computer that does division based on the gear and engine RPM

  • @Cestacular
    @Cestacular 9 ปีที่แล้ว

    fantastic video Luke, top notch and we need more like it!

  • @Nabalazs
    @Nabalazs 9 ปีที่แล้ว

    I may just link this vide to anyone, who asks me "YO DAWG WTF UR DOIN IN IT CLASS?" Nice explaniation! Thanks!

  • @gqbrown09
    @gqbrown09 4 ปีที่แล้ว

    Excellent briefly explanation. Thanks!

  • @PedroBastozz
    @PedroBastozz 2 ปีที่แล้ว

    When this video came out the newest intel CPU was haswell. 2015 feels like yesterday.

  • @igorvieira344
    @igorvieira344 9 ปีที่แล้ว

    Subtitles in the Techquickie channel would be very nice! Sometimes I want to show this videos to someone but the person doesn't speak english well (or at all)!

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

    You kinda missed Assembler. It's as close to human readable machine code you can get (you can program in it for example - you're going to have a nightmare on your hands attempting to program in Binary) and compilers compile your code into this (which the CPU reads and translates into Binary) although Compiler created Assembler can be pretty abstract (you can re-do it and cut out large pieces of generated code but many don't because it's really long winded).
    You're 2 steps away from bare metal (1s and 0's being the second step and +5V, -5V being complete bare metal).
    For programmer types - Assembler is translated literally and has no hard-defined types (so chars can potentially hold ints etc). You can do any basic operation in Assembler such as while loops and number manipulation.

  • @darksteel78
    @darksteel78 9 ปีที่แล้ว

    I just took a compiler writing class. Holy crap is it rage-inducing, interesting, and fun (if that makes any sense). The final project was writing a basic Pascal compiler that output x86 assembly code. It's not as hard as you would think...

  • @nikolajovanovic8571
    @nikolajovanovic8571 7 ปีที่แล้ว

    Nice to see that you compared it with YUGO, a slow, budget car from Serbia :D

  • @daniwebe
    @daniwebe 4 ปีที่แล้ว

    Amazing video. I have been looking for the answer to this particular question for years! Thanks!

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

    You forget one part of the process:
    Source code->Compiler->Assembly->Assembler->Machine Code->Instruction Memory->Instruction Decoder->Control Signals

    • @skifree0
      @skifree0 9 ปีที่แล้ว

      David Teles running the assembler is often forgotten nowadays, since most compilers include that step for you automatically. And for the most part, even after the assembler you still need a linker before the file is executable by the cpu.

  • @lucasferes3519
    @lucasferes3519 9 ปีที่แล้ว

    Good explanation but still is very simple. I'm gonna learn about all of this deeper later on my college, compiuter engineering is a crazy thing but very much satisfying when you really learn something new.

  • @PhazonTheIM
    @PhazonTheIM 9 ปีที่แล้ว

    I like the rotating host for these!

  • @treyfairbrother7547
    @treyfairbrother7547 9 ปีที่แล้ว

    Another great video you guys never disappoint.

  • @Kvikku
    @Kvikku 9 ปีที่แล้ว

    Great video, very informative and easy to learn. Also cool that Luke hosted.

  • @deathreus
    @deathreus 8 ปีที่แล้ว

    You mentioned it in the video, if there isn't already one, do an overclocking fast as possible

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

    Going into Electrical Computer Engineering next year. This video scared shit out of me.

    • @tryhardnoob1140
      @tryhardnoob1140 9 ปีที่แล้ว

      Andrew Kahn He pretty much skimmed over what you're gonna learn in the first two years or so. As long as you keep up with the classes, it's not bad at all.

    • @andrewkahn7345
      @andrewkahn7345 9 ปีที่แล้ว

      Ok. I'm just kidding. I'm not really that frightened. I'm a quick study so I shouldn't have an issue. Thanks for the reply!

    • @OfekAzulay
      @OfekAzulay 9 ปีที่แล้ว

      Andrew Kahn Not to scare you, but Electrical Engineering is tough..

  • @lalithsamanthapuri2055
    @lalithsamanthapuri2055 6 ปีที่แล้ว

    Simple and quality video with lot of content in it...