Fast and Beautiful Assembly

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 79

  • @antonio_carvalho
    @antonio_carvalho 2 місяці тому +13

    Love the assembly videos, please keep them coming! Thank you!!

  • @john.dough.
    @john.dough. 2 місяці тому +3

    I love eli's work! It's great seeing it recognized :]

  • @ivanmaglica264
    @ivanmaglica264 Місяць тому +1

    Pushing registers that you are going to use internally to stack at the beginning of function is necessary if you are going to use the function as a library. Pushing registers and then popping them back makes sure registers are at the left untouched when you return from your function, thus not corrupting the flow of the original program.

  • @iskrabesamrtna
    @iskrabesamrtna Місяць тому +1

    I'm super excited I've found your channel. Fascinating content, thank you for sharing the knowledge!

  • @godofbiscuitssf
    @godofbiscuitssf 2 місяці тому +36

    Kay, once again a beautiful and interesting video! Just for future reference, "SIMD" is typically verbalized as the two-syllable "SIM-DEE" :)

    • @EnlightenedSavage
      @EnlightenedSavage 2 місяці тому +3

      Or she can say it like she wants

    • @scottweaver2478
      @scottweaver2478 2 місяці тому +1

      Just for future reference no one wants an unsolicited teacher. If you just can’t help yourself go start your own youtube channel so you can say “well actually” to your own audience.

    • @declanmoore
      @declanmoore 2 місяці тому +15

      @@EnlightenedSavageof course anyone can say any word however they want, but anyone who uses SIMD with any degree of regularity tend to say it a certain way :)

    • @coding3438
      @coding3438 2 місяці тому +2

      @@declanmooretake it easy bro. These people are trolls

    • @dalton5446
      @dalton5446 2 місяці тому +10

      ​@@coding3438The problem is they're not just trolls. They're trying to be some kind of white knight, for literally all the wrong reasons. Their comments interrupt otherwise civil discussion. It would be great if there were a way to hide comments that don't otherwise contribute to the discussion around the video. Y'know, like the one I'm writing now.

  • @strawberry_blush81
    @strawberry_blush81 2 місяці тому +7

    Any day with a video from Kay is a good day 💜

  • @mytechnotalent
    @mytechnotalent 2 місяці тому +2

    Love this! Assember is the WAY!

  • @phyphor
    @phyphor 2 місяці тому +2

    I never thought I'd click with Assembly and yet here I am following through. Thanks for putting these out!

  • @JonasBuckner
    @JonasBuckner 2 місяці тому +1

    9:29 That line count is correct because in posix, a line is a character string that ends in a newline character. That is just one line then some extra characters on the end.

  • @jakobsternberg1807
    @jakobsternberg1807 Місяць тому

    You're doing so great, thanks for doing this. ❤

  • @wingfamilyfive
    @wingfamilyfive Місяць тому

    Fantastic, thanks for a great video. Super clear presentation and explanations!

  • @konrTF
    @konrTF 2 місяці тому +7

    What a fuckin awesome channel this is.

  • @didotb01
    @didotb01 2 місяці тому

    the quick greek lesson for alusis sent me to another rabbit hole 😂😂

  • @darjr
    @darjr Місяць тому

    Congrats on lifting! Love lifting!

  • @TheGabrielMoon
    @TheGabrielMoon 2 місяці тому

    I'm loving your videos

  • @mylosovich24
    @mylosovich24 Місяць тому

    Kay you're so awesome!

  • @jamesarthurkimbell
    @jamesarthurkimbell 2 місяці тому +5

    Kay Lack? More like Kay, uh, Surplus. Of good content.

  • @DumbledoreMcCracken
    @DumbledoreMcCracken 2 місяці тому +1

    As Niklaus Wirth stated, programs are literature for humans, and not machines.
    However, Assembly is a departure from that ideal...

    • @anta40
      @anta40 2 місяці тому +1

      A few decades ago it was the the norm to write any application in assembly due to hardware & compiler limitation, fortunately we are past that point. That said, there some cases where assembly understanding is still necessary, e.g reverse engineering.

  • @boyardeanes
    @boyardeanes Місяць тому

    thanks! good stuff

  • @trampoline60
    @trampoline60 2 місяці тому +1

    Loving the content

  • @rathinaveluthiruvenkatam610
    @rathinaveluthiruvenkatam610 Місяць тому

    Great! Thanks

  • @LambdaJack
    @LambdaJack 2 місяці тому

    Ah, the book of Eli.
    Ample silicon, the mark of nobility.

  • @jakeaustria5445
    @jakeaustria5445 2 місяці тому +1

    Thank You

  • @manfredbogner9799
    @manfredbogner9799 2 місяці тому +1

    sehr gut

  • @nunoalexandre6408
    @nunoalexandre6408 2 місяці тому

    Love it!!!!!!!!!!

  • @mohamedabdul633
    @mohamedabdul633 2 місяці тому

    Love it. Which software do you use for the presentation

    • @neoeno4242
      @neoeno4242  2 місяці тому

      Thanks! For the diagrams this time I gave tldraw.com a try - with a fair bit of editing laid over the top. Tldraw is really nice. The rest is VS Code + OBS with a lot of me fiddling around putting emojis in using Premiere Pro :)

  • @rx808
    @rx808 2 місяці тому

    great video

  • @rds92523
    @rds92523 2 місяці тому

    One small suggestion, pump up the font some are watching at 360p (code & terminal)

    • @neoeno4242
      @neoeno4242  Місяць тому

      Thanks for the feedback - always a bit of a battle between font size and screen real estate so useful to know when the balance isn't quite right 👍

  • @LukasSmith827
    @LukasSmith827 2 місяці тому +1

    the software community is healing

  • @unfoldingdawn
    @unfoldingdawn 2 місяці тому

    Kay, is there a resource that would help me understand the relationships of how and why assembly is useful to comprehend?

    • @neoeno4242
      @neoeno4242  2 місяці тому +4

      Interesting question! If you've not watched my "Introducing 0DE5" and "Just enough assembly to blow your mind" videos yet I think I touch on it a bit there. I'm not aware of any good resources talking about why it's useful to learn but I'll give a brief on why I'm covering it / why it's useful to me.
      So I'm covering it due to the spirit of my project - odes in appreciation of computing. Basically I think it's interesting and that other people might find it interesting! Not everyone will I imagine but to me learning the language that ~all of the programs on my computer boil down to is pretty fascinating.
      As to why I think it's useful - I started learning assembly as a teenager and it has been very helpful in helping me build a coherent, generally correct mental model of how all computer programs work - because ~all computer programs boil down to how to just this language works. So a bit like (I imagine) if you learn physics you won't necessarily understand both civil engineering and spaceflight right away, but you'll know you have the raw tools in your brain necessary to understand those things - your intuition will generally be good.
      I think assembly has, for me, been a bit like 'physics' for the computer. I don't necessarily understand how the Rust borrow checker works or Scheme continuations but I do know that they all come down to one language in the end and knowing roughly how that language works helps me guess at how those ideas might work a lot faster.
      This answer is also reminding me of a little essay called The Gears of My Childhood which is a bit of a tangent but similar idea: www.herostrat.us/posts/the-gears-of-my-childhood/
      Anyway, thanks for the question! Made me think. Hope the answer wasn't too long :)

    • @Sacred-Lotus
      @Sacred-Lotus 2 місяці тому

      ​@@neoeno4242Very good reasoning. I am glad that not everyone imagine every computing Ops with combinational logic of Bi-stable gates & circuitry 😆, otherwise things can become really COMP-licated. 👍🏻 Good work on your educational video btw.

    • @jenpsakiscousin4589
      @jenpsakiscousin4589 Місяць тому

      If you get bored try to find “Zen of Graphics Programming by Michael Abrash” creating sprites,shapes and graphics in msdos with assembly and VGA hardware is pure magic. Does it translate into todays hardware or coding regiments, no probably not but the windows API takes the fun out of programming. And it is a PITA

  • @pixelfingers
    @pixelfingers 2 місяці тому

    Slightly odd question if you mind me asking - but what’s that nice handwritten-looking font on the diagrams?

    • @neoeno4242
      @neoeno4242  2 місяці тому +2

      I believe it's Shantell Sans (shantellsans.com) - the friendly default font on tldraw

    • @pixelfingers
      @pixelfingers 2 місяці тому

      Thank you very much 😊👍

  • @vikingthedude
    @vikingthedude 2 місяці тому

    i cant believe this shit is free

  • @darjr
    @darjr Місяць тому

    I’ve heard it called ‘sim’ ‘dee’

  • @channelgogrvk
    @channelgogrvk 2 місяці тому +1

    if you look at generated assembly from GCC and CLang a lot of generated labels start with .L. when a label is prefixed with .L it signals to the assembler that it should not emit a symbol for the label, and it remains hidden--it cannot be used as an external reference in any other TU. it's very handy when you don't want to clutter the symbol space with symbols that nothing else will need to know about!

    • @channelgogrvk
      @channelgogrvk 2 місяці тому

      note that this applies only to ELF targets!

    • @neoeno4242
      @neoeno4242  2 місяці тому +2

      Ahh interesting - great comment. Seems like 'privacy' is a concept baked even more deeply into programming than I initially expected...

    • @channelgogrvk
      @channelgogrvk 2 місяці тому

      even the low-level programmer wants encapsulation :)

    • @serhatarslan4138
      @serhatarslan4138 Місяць тому

      @@channelgogrvk Is the .L prefix used for the same purpose as global variables defined with the static keyword?

  • @0xhhhhff
    @0xhhhhff 2 місяці тому +1

    hello 👋

  • @nil0bject
    @nil0bject 2 місяці тому

    now do it in machine code

  • @Gersberms
    @Gersberms 2 місяці тому +1

    State machines are not used and explained enough!

    • @chainingsolid
      @chainingsolid 2 місяці тому

      Agreed this is the first time I've seen a state machine explained as a thing that can be in one of many states and we just do something upon changing states.

  • @salmanmusa9930
    @salmanmusa9930 2 місяці тому

    I commented too

  • @fixedbyte
    @fixedbyte 2 місяці тому +2

    1st comment :)

    • @eni4ever
      @eni4ever 2 місяці тому

      1st reply to a comment! :))

    • @jumbledfox2098
      @jumbledfox2098 2 місяці тому +1

      2nd reply to a comment!!! :)))

    • @bigmistqke
      @bigmistqke 2 місяці тому

      🥇

  • @bbrother92
    @bbrother92 2 місяці тому

    Sorry to ask but What are your pronouns?

    • @neoeno4242
      @neoeno4242  Місяць тому +1

      All good - she/her :)

    • @bbrother92
      @bbrother92 Місяць тому

      @@neoeno4242 cutie brit

  • @MarianoBustos-i1f
    @MarianoBustos-i1f 2 місяці тому

    My brain hurts. Is it normal?

    • @strawberry_blush81
      @strawberry_blush81 2 місяці тому +4

      If it hurts it means it's growing - that's good

    • @thein3rovert-l9c
      @thein3rovert-l9c 2 місяці тому

      @@strawberry_blush81is this true.. I feel this anytime I’m learning anything complex.. like a migraine

    • @Sacred-Lotus
      @Sacred-Lotus 2 місяці тому

      Your migraine is probably due lack of sleep. 🙈 Your brain begin to protest whenever it comes across (slightly) complex subject.

  • @hamzanasir1590
    @hamzanasir1590 2 місяці тому

    3rd comment ❤

  • @XxFlyGamerxX
    @XxFlyGamerxX 2 місяці тому +1

    2st comment :)

  • @QWin-ir6yq
    @QWin-ir6yq 2 місяці тому

    Hard for me to follow