Re: Quite a statement of intent
abend: But the point remains that you can get surprising levels of performance even out of what were conceived as interpreted languages if you put in sufficient effort.
cow: I think you will find the perfomance of those systems is not because of javascript magic its because most of that cpu time is spent in native code.
Eg if you have a node CRUD system most of hte cpu time for every request is not in javascript, but native code for the http stuff, and prolly native code for the magic inside the db. The actual cpu in javascript doing your business logic or whatever is very small.
~
abend: ou can even coerce unpromising candidates into multithreading (eg with worker-threads and async/await in Javascript), but that's not really relevant.
cow: Like my above comment, most o fthat multi threading is actually native code, the javascript - aka your code is not multi threaded at all, at any time in that VM there is only ONE bit of javascript executing.
THeres a big diference between a c# or java where there are lots of eecuting threads sharing memory caches etc, something that cant and doent happen in js.