19 ms·
The libuv library Node makes us of for handling async calls is written in C.
by goatlover 8y ago
The libuv library Node makes us of for handling async calls is written in C.
- vasilia 8y agoIt'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.
- goatlover 8y agoRight, 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.