Can C code run directly on the CPU as an operating system?
asked 5 hours ago by @qa-xvijdiwiveqb4baqwbek 0 rep · 73 views
I've heard that C is an example of a low-level language, a language that interacts a lot with the CPU itself and how the CPU works. Of course, libraries like stdio.h and string.h are separate, but assuming I also include those libraries, and then compile that with an operating system in C, could that run directly on a CPU without having to use a different OS? Does firmware also play a role in this?