Re:KolibriOS – operating system written entirely in assembly...
by p0nce on Wednesday April 15, 2020 @02:10AM
(#22875072)
It depends. If your target is x86/x86_64 and the compiler has a LLVM or Intel backend, I've found that beating the compiler is almost impossible and largely futile. I took a long time to accept this since I know asm and the x86 instructions well.
Re:KolibriOS – operating system written entirely in assembly...
by pjmlp on Wednesday April 15, 2020 @02:21AM
(#22875122)
That is my point of view as well, but then again the kind of code I write also does quite well with bounds checking enabled.
So I never had to deep dive into stuff like writing AVX by hand, just basing my remark on some comments that occasionally read about.
IoT devices with memory measured in single digits KB.
Plus, someone needs to write the Assembly that those compilers generate.