Jean-Baptiste Kempf
๐ค SpeakerAppearances Over Time
Podcast Appearances
There's SME.
x86 has AVX512, AVX.
So we do runtime processor detection.
We see what the machine FFmpeg is running on or David's running on is capable of because you could be on a laptop from 2008 where this isn't there.
Runtime detection.
We set function pointers accordingly.
And then from then on,
off you go, or you could be on a machine with risk five.
I think in a mass world, there isn't something on billions of devices.
I know there are some specialist industries.
I know in high-frequency trading, they take this really seriously where...
They're receiving feeds from a market, and they need to react within X number of microseconds, and so the instructions matter.
But that's not a mass-produced thing that's on a billion devices that's hyper-specialized, running on hyper-specialized hardware.
So I personally wasn't happy with the way assembly is taught in books and online because it's very grammar focused and you don't in general learn a language from
learning the grammar and the structure.
You learn a language by asking someone what their name is, and you start from there, and you go and solve real problems that you have when you want to communicate.
You don't learn sentence structure.
This is the interrogative and the adverb, and all the assembly books seem to be going through every instruction, even ones that aren't really relevant, explaining what they all do and how they... It actually doesn't really change much.
And the other problem that we have in our community is assembly is taught sort of hand-to-hand, like person-to-person, like blacksmithing one by one.
That's the only logical sort of analogy.