4 ms·
I don't think that's the lesson at all. If you write a kernel you'll have to write some assembly. If you really want you can write your own compiler that writes
by ketralnis 11y ago
I don't think that's the lesson at all. If you write a kernel you'll have to write some assembly. If you really want you can write your own compiler that writes the assembly you need I suppose, but you're still writing the assembly somewhere, or at least aware of exactly what assembly will be omitted. The point of something like C11 atomics is that you don't want to have to know the assembly. In the kernel you don't have that luxury