Re:Mark Russinovich: “Working towards enabling Windows drive...
by anaisbetts on Sunday September 24, 2023 @03:37AM
(#37630936)
It is very difficult to write device drivers in even C++ while still maintaining the ability to write pageable kernel drivers. Drivers must have very strict control over availability of memory because it will likely access it at times when a page fault is not possible (i.e. during an interrupt handler). The C# language and runtime would have to add features to explicitly accomodate this at a bare minimum
[ Parent
| on HN ]
Re:Mark Russinovich: “Working towards enabling Windows drive...
by tonyedgecombe on Sunday September 24, 2023 @03:51AM
(#37630990)
Microsoft did have an experimental OS[1] written in a variant of C# so it doesn't seem completely unrealistic.
[1] https://en.wikipedia.org/wiki/Midori_(operating_system)
My guess is the internal politics would be a bigger problem than any technical issues.
Re:Mark Russinovich: “Working towards enabling Windows drive...
by anaisbetts on Sunday September 24, 2023 @04:19AM
(#37631130)
It's not unrealistic but Midori made a lot of changes to C# to make it possible, it was almost a different language by the end of the project