3 ms·
I should think JS itself in the UI is "fine" if it's just JS we are talking about and not the DOM or other "web" technologies (a la Electron and co). After all,
by ComputerGuru 5y ago
I should think JS itself in the UI is "fine" if it's just JS we are talking about and not the DOM or other "web" technologies (a la Electron and co). After all, V8 is faster than the Python interpreter, and quite a lot of UIs are written in Python without it being a bottleneck - it's just a layer of glue pulling together various APIs and creating some sort of pipeline and none of the actual performance-sensitive stuff is done in the interpreted language either way (except when you're doing things like calculating stuff or sorting the contents of widget in Python or JS, etc. where inefficiencies in your code and in the language you are using begin to show - but those aren't strictly required to be part of your UI markup).