Yes, who haven't had a glass of red wine, relaxing music and some inline assembly....
Linus Torvalds Takes On A Performance Patch: "I Relax By Playing With Inline Assembly"
3 years ago by snaggen to c/programming
Yes, who haven't had a glass of red wine, relaxing music and some inline assembly....
8 Hours of defrag | hard disk defragmentation ASMR | Hard Disk Sound Effect | HDD sounds
https://m.youtube.com/watch?v=KR3TbL3Tl6M
đ
He says this because he kind of ignorantly (his own wordage) wrote in machine code for quite some time before realizing assembly was a thing. So for Linus inline assembly is to machine code as python is to c for a lot of us.
One of my oldest programming books is all about using machine language to program.
At the time, even assemblers cost money. I remember saving up for Merlin which is an assembler for the Apple II.
He was probably working with bytes and not individual bits, but yeah. He basically wrote executables directly (to my understanding).
As usual his code might be a great thing, but his pretentious attitude is still shit.
"Ah yes look at me I have written, oh my dare I say, some ASSEMBLY honhonhonhonhonhon"
That this is a big thing seems wild to me.
Assembly isn't such a big thing, some devs use it daily (Hello to my embedded devs out there) so why is this worthy a news article?
That's not being pretentious, that's being blunt. I personally as a dev, appreciate that.
If you think the code can be improved you should say that, and exactly why that's the case. When you're mistaken you should be able to take the criticism.
Your mission as a dev is to write the ideal code, and being overly polite can stand in the way of that.
Proofs of concept are a very common thing everywhere. Sometimes it's easier just to show code instead of explaining everything, which was the case here.
@programming.dev
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
go to feed...
@programming.dev
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
go to feed...
I relax by listening to my HDD spinning. Which technically is a lower level than assembly.
save