by DonaldFisk · 9y ago · 0 comments
He isn't trying to rethink the desktop/workstation OS. If he's found a way of improving upon existing desktop environments, it should be clear what improvements he's made and how he has made them.
It seems it's written in Node Webkit (NW.js), which - if I understand correctly - allows you to build desktop applications in the same way node.js allows you to build applications which run in the browser. He appears to have used this to prototype a desktop environment. Rewriting a desktop environment, for efficiency, in C and using Xlib would itself be a major undertaking.
It's a statically typed subset of JS that uses typed arrays for machine-typed memory and JS's bitwise operators for int32 and uint32 casts, and + for to-IEEE754-double, etc.
It is as fast as memory-safe C-like variants already, see
https://arewefastyet.com/#machine=29&view=breakdown&suite=as...
https://arewefastyet.com/#machine=29&view=breakdown&suite=as...
I'm not sure why the native C++ (clang) gray line stops over a year ago. Perhaps @azakai can say.
/s
Very, very far from C in memory, for all things.