Someone suggesting re-writing the Linux kernel in nodejs may be a strong contender for Peak HN
Why Linux? It's a simple hybrid kernel. It will be better to rewrite HURD/L4.
The libuv library Node makes us of for handling async calls is written in C.
It's not a problem. The main problem is the assembly code. There is no way to inline it in JS code. After boot time system should make some things like A20, enable paging/protected and long mode, build GDT/IDT.
Right, but my reply to the parent was that Node isn't a performance improvement over C because it has async, when the async part is written in C. JS popularity has led to some wild claims. Never thought I'd live to see the day someone proposed a JS runtime would be more performant than C for writing operating systems.
Performance isn't an issue with C code. Security is.
It can be. Unless one resorts to macros, templates are usually faster.
Everything can be an issue everywhere. No one will choose Node JS over C to counter performance.
No, but one can get code to perform as fast or faster than C with any other systems programming language, especially if they have templates/generics.