3 ms·
This reminds me of how people used to use machine code which exposed and tested for slight differences in processors to detect x86 processor versions before CPU
by msla 4y ago
This reminds me of how people used to use machine code which exposed and tested for slight differences in processors to detect x86 processor versions before CPUID:
http://www.rcollins.org/ddj/Sep96/Sep96.html http://www.rcollins.org/ddj/Sep96/Sep96.html
- lifthrasiir 4y agoOr feature detection in web development, which made `document.all` an exotic object (ECMAScript speak) in modern browsers [1]. [1] https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
- kzrdude 4y agoInteresting! So if we didn't have CPUID we'd have some open source assembler only library called x86_cpu_guesser or so