Fast and Beautiful Assembly

  Рет қаралды 15,998

Kay Lack

Kay Lack

Күн бұрын

Пікірлер: 80
@antonio_carvalho
@antonio_carvalho 2 ай бұрын
Love the assembly videos, please keep them coming! Thank you!!
@strawberry_blush81
@strawberry_blush81 2 ай бұрын
Any day with a video from Kay is a good day 💜
@john.dough.
@john.dough. 2 ай бұрын
I love eli's work! It's great seeing it recognized :]
@iskrabesamrtna
@iskrabesamrtna Ай бұрын
I'm super excited I've found your channel. Fascinating content, thank you for sharing the knowledge!
@phyphor
@phyphor 2 ай бұрын
I never thought I'd click with Assembly and yet here I am following through. Thanks for putting these out!
@wingfamilyfive
@wingfamilyfive Ай бұрын
Fantastic, thanks for a great video. Super clear presentation and explanations!
@mytechnotalent
@mytechnotalent 2 ай бұрын
Love this! Assember is the WAY!
@jakobsternberg1807
@jakobsternberg1807 Ай бұрын
You're doing so great, thanks for doing this. ❤
@godofbiscuitssf
@godofbiscuitssf 2 ай бұрын
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 ай бұрын
Or she can say it like she wants
@scottweaver2478
@scottweaver2478 2 ай бұрын
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 ай бұрын
@@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 ай бұрын
@@declanmooretake it easy bro. These people are trolls
@dalton5446
@dalton5446 2 ай бұрын
​@@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.
@ivanmaglica264
@ivanmaglica264 Ай бұрын
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.
@ioscaleb
@ioscaleb 11 сағат бұрын
That’s true, but in a previous video Kay explained that the ARM convention is that a function only has to preserve certain registers, i.e. X19-X28. The others are temporary registers; it’s up to the caller to save any that are needed before making a function call. I’m not sure which part of the video you’re referring to, but maybe this will help. Consider also that the “functions” here are really just subroutines meant for use only in this program, not library functions.
@konrTF
@konrTF 2 ай бұрын
What a fuckin awesome channel this is.
@JonasBuckner
@JonasBuckner 2 ай бұрын
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.
@mylosovich24
@mylosovich24 Ай бұрын
Kay you're so awesome!
@darjr
@darjr Ай бұрын
Congrats on lifting! Love lifting!
@didotb01
@didotb01 2 ай бұрын
the quick greek lesson for alusis sent me to another rabbit hole 😂😂
@TheGabrielMoon
@TheGabrielMoon 2 ай бұрын
I'm loving your videos
@boyardeanes
@boyardeanes 2 ай бұрын
thanks! good stuff
@rathinaveluthiruvenkatam610
@rathinaveluthiruvenkatam610 Ай бұрын
Great! Thanks
@jakeaustria5445
@jakeaustria5445 2 ай бұрын
Thank You
@jamesarthurkimbell
@jamesarthurkimbell 2 ай бұрын
Kay Lack? More like Kay, uh, Surplus. Of good content.
@nunoalexandre6408
@nunoalexandre6408 2 ай бұрын
Love it!!!!!!!!!!
@trampoline60
@trampoline60 2 ай бұрын
Loving the content
@manfredbogner9799
@manfredbogner9799 2 ай бұрын
sehr gut
@DumbledoreMcCracken
@DumbledoreMcCracken 2 ай бұрын
As Niklaus Wirth stated, programs are literature for humans, and not machines. However, Assembly is a departure from that ideal...
@anta40
@anta40 2 ай бұрын
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.
@LambdaJack
@LambdaJack 2 ай бұрын
Ah, the book of Eli. Ample silicon, the mark of nobility.
@LukasSmith827
@LukasSmith827 2 ай бұрын
the software community is healing
@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 :)
@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 👍
@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 ай бұрын
I believe it's Shantell Sans (shantellsans.com) - the friendly default font on tldraw
@pixelfingers
@pixelfingers 2 ай бұрын
Thank you very much 😊👍
@rx808
@rx808 2 ай бұрын
great video
@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 ай бұрын
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
@channelgogrvk
@channelgogrvk 2 ай бұрын
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 ай бұрын
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 2 ай бұрын
@@channelgogrvk Is the .L prefix used for the same purpose as global variables defined with the static keyword?
@darjr
@darjr Ай бұрын
I’ve heard it called ‘sim’ ‘dee’
@vikingthedude
@vikingthedude 2 ай бұрын
i cant believe this shit is free
@0xhhhhff
@0xhhhhff 2 ай бұрын
hello 👋
@neoeno4242
@neoeno4242 2 ай бұрын
Hi! 👋
@Gersberms
@Gersberms 2 ай бұрын
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.
@nil0bject
@nil0bject 2 ай бұрын
now do it in machine code
@neoeno4242
@neoeno4242 2 ай бұрын
Coming soon :)
@fixedbyte
@fixedbyte 2 ай бұрын
1st comment :)
@eni4ever
@eni4ever 2 ай бұрын
1st reply to a comment! :))
@jumbledfox2098
@jumbledfox2098 2 ай бұрын
2nd reply to a comment!!! :)))
@bigmistqke
@bigmistqke 2 ай бұрын
🥇
@hamzanasir1590
@hamzanasir1590 2 ай бұрын
3rd comment ❤
@MarianoBustos-i1f
@MarianoBustos-i1f 2 ай бұрын
My brain hurts. Is it normal?
@strawberry_blush81
@strawberry_blush81 2 ай бұрын
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.
@salmanmusa9930
@salmanmusa9930 2 ай бұрын
I commented too
@bbrother92
@bbrother92 2 ай бұрын
Sorry to ask but What are your pronouns?
@neoeno4242
@neoeno4242 Ай бұрын
All good - she/her :)
@bbrother92
@bbrother92 Ай бұрын
@@neoeno4242 cutie brit
@XxFlyGamerxX
@XxFlyGamerxX 2 ай бұрын
2st comment :)
@QWin-ir6yq
@QWin-ir6yq 2 ай бұрын
Hard for me to follow
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 123 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 14 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 10 МЛН
How the stack got stacked
41:04
Kay Lack
Рет қаралды 19 М.
Creating Your Own Programming Language - Computerphile
21:15
Computerphile
Рет қаралды 112 М.
Why Didn't He Get the Job? Let's Find Out! // Code Review
27:25
The Cherno
Рет қаралды 149 М.
What P vs NP is actually about
17:58
Polylog
Рет қаралды 133 М.
Wrapping your favorite CLI in neovim
26:15
senkwich
Рет қаралды 6 М.
How a Microcontroller starts
28:49
Artful Bytes
Рет қаралды 47 М.
Making .BMP images from scratch
21:22
Kay Lack
Рет қаралды 13 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 329 М.
The BEST No-Nonsense VSCode Setup for Python Devs
26:05
ArjanCodes
Рет қаралды 26 М.
10 weird algorithms
9:06
Fireship
Рет қаралды 1,3 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2 МЛН