3 ms·
So... how does that work? What sort of work do you do that you have the time to write raw ASM and still be productive? I'm asking in earnest, because I'm curiou
by packetlost 4y ago
So... how does that work? What sort of work do you do that you have the time to write raw ASM and still be productive? I'm asking in earnest, because I'm curious what sort of workflows still allow for writing ASM directly outside of very specific cases (such as initializing embedded MCUs, for example)
- Am4TIfIsER0ppos 4y agoany audio or video work You don't want to be forced to trick the compiler into using the SIMD instructions you are aware of so you write an assembly function.
- packetlost 4y agoForcing SIMD instructions seems like a pretty reasonable, but specialized use-case that would warrant using ASM. But from what I understand, you'd still be using a compiler for whatever higher-level language (say, C/C++) for most of the work and ASM for the really performance sensitive portions of the code (or when trying to force the usage of some CPU extension). My interpretation of GP was that they exclusively write in ASM, though that may not have been correct.
- Am4TIfIsER0ppos 4y agoOkay I can see how you thought that. And we do use something higher for all the other parts. Look at ffmpeg for an example. https://github.com/ffmpeg/ffmpeg https://github.com/ffmpeg/ffmpeg The github mirror says a mere 6.6% is assembly