So in theory, if we ported python libraries into JS, the performance could be better than Python ?
There are nuances to how data enters and exits the VM runtime which means I couldn’t say with confidence if performance would be better or worse in the general case - but either direction is at least technically viable.