https://marian-caikovski.medium.com/single-threaded-javascript-vs-multi-threaded-java-which-is-faster-d3c36a885878