Compiling, assembling, and linking

Пікірлер: 82

  • @mrarcticaaa1101
    @mrarcticaaa11016 жыл бұрын

    The more i learn, the more i respect. Some people thought and created this while we are struggling for just learning. Thank you so much.

  • @roronoa_d_law1075

    @roronoa_d_law1075

    4 жыл бұрын

    ikr

  • @Jason-ep3zb

    @Jason-ep3zb

    4 жыл бұрын

    You will be more amazed when you go down to the hardware level

  • @exoticcoder5365

    @exoticcoder5365

    3 жыл бұрын

    agree

  • @saudude2174

    @saudude2174

    Жыл бұрын

    there was never a single group of people who thought up and created all of this it is a joint effort of many generations of engineers, that cost a lot of errors, sweat and difficulties along the way. This is why you're struggling to understand it quickly.

  • @randomaccount6146

    @randomaccount6146

    10 ай бұрын

    ​@@Jason-ep3zbI'm in a limbo. I understand how the CPU works on low level and also how code works on higher level and now I'm trying to understand these things in between which for me are the hardest.

  • @BirthBabies
    @BirthBabies7 жыл бұрын

    Awesome. I like that you break down actual assembly code to give real context instead of using some abstract diagram.

  • @ngonidzashemwanjira208
    @ngonidzashemwanjira208Ай бұрын

    I am very grateful for the clarity in this video. It is a very rare commodity in this era of the Tech Bro Gimmicks

  • @ajjaatarskywalker917
    @ajjaatarskywalker9177 жыл бұрын

    This channel is a hidden gem! thanks a lot for sharing the wealth of knowledge. I hope you will expand more in the future on EEE and CS topics.

  • @Donna_9qwx
    @Donna_9qwx15 күн бұрын

    Sarcastically wishing you unending smiles.

  • @samar7190
    @samar71902 жыл бұрын

    It was really quick and straightforward about the compilation process. Thanks for making such an amazing video !!

  • @Muaddibkhan
    @Muaddibkhan5 жыл бұрын

    We discussed this topic today in university lecture I had some doubts but you cleared them up . Thanks 👍

  • @vedantsgoodlife7302
    @vedantsgoodlife73023 жыл бұрын

    I knew there would be a video like this somewhere... and here it is.

  • @sontapaa11jokulainen94
    @sontapaa11jokulainen945 жыл бұрын

    You just earned a sub.

  • @AnantaAkash.Podder
    @AnantaAkash.PodderАй бұрын

    By far the Best explanation ever...❤️❤️

  • @ten_tego_teges
    @ten_tego_teges4 жыл бұрын

    Excellent video, thank you so much!

  • @Vlfkfnejisjejrjtjrie
    @Vlfkfnejisjejrjtjrie7 жыл бұрын

    Excellent! Subscribed.

  • @TheCoolcat0
    @TheCoolcat06 жыл бұрын

    Great work!

  • @GeekyMino
    @GeekyMino4 жыл бұрын

    Excellent tutorial man!

  • @huynhsonnguyen970
    @huynhsonnguyen9705 ай бұрын

    your explaination is better than my prof. Thank you!

  • @vizzymove
    @vizzymove4 жыл бұрын

    Thanks for the clear explanation!

  • @fullmetalsmash001
    @fullmetalsmash0013 жыл бұрын

    This is a great in depth walk through of the compilation to executable. My only critique (which is something I don't know much about) is the description of the process before the assembler is run, the Preprocessor. I know there's a lot to discuss on how it reads each library and macro and creates translation units, but my understanding is still a little muddy on it.

  • @icojb25
    @icojb259 ай бұрын

    Great video, thank you

  • @sergiojimenez3445
    @sergiojimenez34457 жыл бұрын

    suscribed, nice microlecture

  • @cahitskttaramal3152
    @cahitskttaramal31525 жыл бұрын

    Good explanation! Cheers mate!

  • @reeb8587
    @reeb85872 жыл бұрын

    such clear explanation! thank you so much

  • @WilliamDavidMartin
    @WilliamDavidMartin Жыл бұрын

    Excellent work you got another subscriber and a like!!

  • @ZirTaaah
    @ZirTaaah Жыл бұрын

    Best video on the subject ty !!

  • @graemechetcuti
    @graemechetcuti4 жыл бұрын

    This was really clear thank you.

  • @khaben6986

    @khaben6986

    4 жыл бұрын

    Exactly I really liked it ^^ and yeah I discovered this channel in quarantine days 😊

  • @mohammadahmedragab837
    @mohammadahmedragab8373 жыл бұрын

    amazing simple concise very useful explanation , I am gale to find this video :)))

  • @nirajanbist2313
    @nirajanbist23133 жыл бұрын

    Premium content... 😍 Thanks a lot 🙏

  • @dimitrijep7872
    @dimitrijep78725 жыл бұрын

    thank you for good explanation!

  • @kundansuryansh809
    @kundansuryansh8096 жыл бұрын

    very nice explaination! :)

  • @trueopinion100
    @trueopinion10010 ай бұрын

    Excellent work...really made it easy to understand

  • @coreyhartman4510
    @coreyhartman45103 жыл бұрын

    great video

  • @chenyikuan_official
    @chenyikuan_official7 жыл бұрын

    Prof Herman is awesome

  • @Ronald__u37
    @Ronald__u378 күн бұрын

    Your guide to success: refund details and anticipated actions

  • @shaurakar
    @shaurakar7 жыл бұрын

    Best explanation I ever found on youtube :) ...Thanks a lot!!!

  • @To-mos
    @To-mos Жыл бұрын

    Love the video except one little thing. I wish you opened the object file with a hex editor and not notepad++, it would be neat to see it in paired hex or just binary with the ASCII text to the side.

  • @qugh3173
    @qugh31736 жыл бұрын

    legend

  • @yahyaaouledamer1466
    @yahyaaouledamer14662 жыл бұрын

    Great explanation

  • @the-sunny-side-up
    @the-sunny-side-up5 ай бұрын

    Neat!

  • @user-xt4hi9ie4r
    @user-xt4hi9ie4r8 ай бұрын

    Great video! My question is what is different between static and shared libraries at either the compiling or linking step? Do the symbols that end up in the end executable look different for shared libs vs static libs?

  • @hamahawlery7194
    @hamahawlery71945 жыл бұрын

    Thank you.

  • @James-c9James__r3
    @James-c9James__r315 күн бұрын

    Behold! The BTC transaction has safely reached our coffers.

  • @eugenepark
    @eugenepark11 ай бұрын

    Nicely presented

  • @ShujaRafi
    @ShujaRafi6 жыл бұрын

    nice

  • @uzivatel123
    @uzivatel123 Жыл бұрын

    thank you so much

  • @forzafaruandrei
    @forzafaruandrei5 жыл бұрын

    Thanks for the video! I got, however, a question. The compilation step to assembly language is always taking place? Aren't compilers that transform the source code directly into binary?

  • @Calm_Energy

    @Calm_Energy

    5 жыл бұрын

    It depends on the compiler, in GCC's case source code does go to assembly then machine code. If you are compiling with gcc on the command line you can -S to generate an assembly file so you can see it.

  • @Lisa__5tmf
    @Lisa__5tmf9 күн бұрын

    Stay ahead of the game with an exclusive interview featuring Binance’s CEO on future developments

  • @Michael___054v
    @Michael___054v10 күн бұрын

    Exclusive access: interview with Binance CEO for insights into future developments

  • @Helen_5f
    @Helen_5f15 күн бұрын

    Behold, a system error has caused the transaction to venture to an invalid email address.

  • @Sandra_m06
    @Sandra_m069 күн бұрын

    Binance's CEO discusses future developments in an exclusive interview - don't miss it

  • @domaincontroller
    @domaincontroller4 жыл бұрын

    You fucking rule !

  • @something_different8968
    @something_different8968 Жыл бұрын

    thankssss

  • @baurks
    @baurks5 жыл бұрын

    on mac, test.s looks completely different. sorry if i am being naive but is there something obvious that i am missing?

  • @matthewevans9838

    @matthewevans9838

    4 жыл бұрын

    There are a couple of things that could be in play. Assuming you have an Intel processor, it probably has to do with the differences in X86 Assembly calls made on OSX vs Windows.

  • @youqube3544
    @youqube35445 жыл бұрын

    Thanks

  • @donfeto7636
    @donfeto76364 жыл бұрын

    6 minutes for me it was 1hour

  • @chiraggupta2645
    @chiraggupta26454 жыл бұрын

    Why is everything NULL for the object file (in binary code) Also why does it have the words main and the name of the file in there? Shouldn't an object file only consist of zeros and ones.

  • @matthewevans9838

    @matthewevans9838

    4 жыл бұрын

    To answer your questions, it basically comes down to the text editor trying to convert the binary into characters because their purpose is to output human readable text in general. It is looking at the binary in terms of bytes rather than each individual bit. So instead of printing out 10110... it outputs a character that is mapped to that binary number. This is where character encoding comes in to play. In ASCII/ANSI "65" or "1000001" is mapped to "A" as an example. Because the file is giving instructions to the computer to perform certain tasks rather than being used to display human readable information, it is gibberish. The black NULL you see is a "character" mapped to 00000000. In his text editor, the black boxes shown are all "character" that aren't really meant to be used in human readable files like a text file. Here is a link to the ASCII table: www.asciitable.com/

  • @viditk
    @viditk4 ай бұрын

    What are these .seh commands? Are they an instruction for processor hardware or is it a reference to kernel function? If it's part of kernel function, does this mean that compilers are not just processor architecture specific but also OS specific?

  • @JohnCARD-xz1pl

    @JohnCARD-xz1pl

    3 ай бұрын

    😂 1:36 😢😮😮😮😅call🎉

  • @viditk

    @viditk

    3 ай бұрын

    @@JohnCARD-xz1pl what?

  • @hunny8341
    @hunny83414 жыл бұрын

    super helpful, thanks!

  • @William__0p5
    @William__0p58 күн бұрын

    Brace yourself, important refund info coming through!

  • @Whatisknowledge247
    @Whatisknowledge2473 жыл бұрын

    how many pieces do a linker links?

  • @HriataKC
    @HriataKC8 ай бұрын

    Is this the Organic Chemistry Tutor?

  • @JohnCARD-xz1pl
    @JohnCARD-xz1pl3 ай бұрын

    0:48

  • @saumyojitdas4212
    @saumyojitdas42124 жыл бұрын

    why is it that for only printf nothing is written how to execute it ..inside printf it is given to print integer in a given format what do u mean by label in printf().

  • @JohnCARD-xz1pl
    @JohnCARD-xz1pl3 ай бұрын

    😅 0:26 0:26

  • @sanusihassan7125
    @sanusihassan71252 жыл бұрын

    What's an ISA?

  • @havehalkow
    @havehalkow4 жыл бұрын

    That's not easy

  • @escapefelicity2913
    @escapefelicity29133 жыл бұрын

    How can I produce a .com file?

  • @LinnHabrock
    @LinnHabrock10 күн бұрын

    Your Bitcoin transfer has been successfully processed-congrats!

  • @Anthony-v6Anthony__9e3
    @Anthony-v6Anthony__9e39 күн бұрын

    Things are looking up-vital refund info

  • @dorothynamulondo404
    @dorothynamulondo4045 жыл бұрын

    nice

  • @mazharkhaliq1971
    @mazharkhaliq19716 ай бұрын

    Thanks

  • @Ty1er
    @Ty1er3 жыл бұрын

    Thanks