You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Small codebases in C are not a problem. Microkernels of a few thousand lines are therefore no problem.
It's when codebases approach hundreds of thousands or millions of LOC that it becomes unwieldy.
The kernel is pretty small (3200 LoC) but the entire Resea operating system exceeds 90.000 LoC (including the kernel). Wouldn't it therefore be more logical to rewrite just the servers in Rust?
P.S.: I used the following command to calculate the LoC: find . -name '*.c' | xargs sed '/^\s*#/d;/^\s*$/d' | wc -l
Interestingly, Resea Kernel is used to be written in Rust. However, it soon be rewrote in C because of the following drawbacks:
I do think C is better for a minimalistic microkernels as of this writing, that said, I also believe that the problems might be addressed someday.
The text was updated successfully, but these errors were encountered: