0
About Java and C#
I saw a question in Quara. The user asking about c# why Microsoft didn't write windows with it. I think he askes the reason underestimate the language. I wander is there any operation system written by java or python except c or c++ (I mean user operate system not embedded) thanks in advance for reply.
2 Answers
+ 2
There's a reason why systems programming languages like C/C++ and Rust exist. They compile to direct processor instructions and don't have a runtime. This makes them more flexible for low level hardware interactions and also a lot faster than all other types of programming languages. I don't say it wouldn't be possible to use C#, Java or Python to create an OS but it'd be more complicated to get things started and also a lot slower.
That's why C/C++ traditionally were the only options for OS programming. Meanwhile Rust has become a modern alternative (which Microsoft is already using and the Linux kernel might use it soon as well).
+ 2
Apart from some obscure, failed or pet systems, no. Both Java and Python are cross-platform and need interpreter. OS needs to be run just on top of the hardware, that's why c and c++ are great for os since they are compiled into machine language. Theoretically it is not impossible to write os almost fully in Java or Python, though, it's just pointless.