Message from JavaScript discussions

June 2017

— Yeah, all the non-C concepts would work just fine in JS

— 

the algorithm contains much complex logic to avoid cache misses as often as possible
this is impossible in JS

— Yep

— The native code can't be avoided and is likely not optimized for that task, so there's no going around it even if you are uber wizard

Message permanent page

— The tree structure code and likely all other code is trivial, the bulk of the complexity comes from that task

Message permanent page

— In node this is possible though! You can import some C++ :)

— Then run it as a module

— Heh, true

— I heard it has some overhead though

— But I'm not good with C++, so don't quote me

— C might be better at that

— Since you can more closely fiddle with some bare-metal things