Toward a better list iterator for the kernel
Toward a better list iterator for the kernel
Posted Mar 13, 2022 11:39 UTC (Sun) by Wol (subscriber, #4433)In reply to: Toward a better list iterator for the kernel by PengZheng
Parent article: Toward a better list iterator for the kernel
Basically, anywhere you are hardware-constrained (and an OS is a perfect example) you need to be very careful about knowing exactly what abstractions the compiler is using. C++ makes this rather tricky!
Once you're in user space, especially if you're in an online state (ie the computer is a lot faster than the person behind the keyboard), you no longer need to worry and can use the full power of C++. Just make sure you don't use the bits you don't understand :-)
Cheers,
Wol
