Pls recomm good, 2021, ASM book 
-
-
Replying to @nekyian @cmuratori
Modern compiler will do it better than you. Write in C :)
1 reply 0 retweets 0 likes -
100% false. While you can usually still use C, if you can't read the ASM that gets generated, you will get hurt all the time by very bad codegen and not know. I encounter a horrendous LLVM codegen bug at least once every LLVM version, and it seems to be getting more frequent.
3 replies 0 retweets 12 likes -
You can even watch this happen if you'd like. Here's a stream where I input _incredibly_ simple code into LLVM and have it generate an absolute disastrous output:https://youtu.be/R5tBY9Zyw6o?t=5934 …
2 replies 0 retweets 6 likes -
Replying to @cmuratori @nekyian
Watched the video. Well, that's a compiler problem, isn't it? :)))))
1 reply 0 retweets 0 likes -
If I didn't know ASM, it would never have gotten fixed, because nobody would have known and reported it!
2 replies 0 retweets 7 likes -
Replying to @cmuratori @nekyian
Sure. Okay, my wording was most probably wrong. Reading+understanding asm is a valuable skill. Writing x86 asm manually for the modern CPU has extremely narrow use case.
1 reply 0 retweets 0 likes -
Eh? Not really. I write intrinsics all the time, which I do by figuring out the ASM and then putting it in as intrinsics. Is it exactly the same as writing ASM? No. But you more or less have to know ASM to have any idea what you should be doing.
1 reply 0 retweets 5 likes -
I think ASM skills are underrated. Just because you're not typing in ASM files doesn't mean you shouldn't be, for example, fluent with http://uops.info :)
2 replies 1 retweet 5 likes -
Replying to @cmuratori @gasparch
Ok, is there a good book you would recommend? Suited for the idea of understanding principles, more than efectively creating software in ASM entirely? Maybe a book on optimizations, preferably language agnostic?
3 replies 0 retweets 0 likes
Again, afraid not. That's why I'm doing Star Code Galaxy, to have good answers to this. What I can say, though, is http://godbolt.org is a great learning tool. You can just put simple C code in on one side and it will show you the ASM on the other side.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.