News for hackers. Stuff that matters.
Re:What is a programmable programming language? (2019) by mhh__ on Monday June 06, 2022 @01:28AM (#31637463)
Guesswork, static analysis, experiment etc. JSC does all kinds of black magic to make JavaScript run fast.

For a large amount of programs (basically all "classical" programs like you'd read about in the past rather than modern apps) you have a fairly clear path through the code for their data, this means that you can optimize that path.

This doesn't mean the performance will be as good as a statically typed language but keep in mind 90% of compiler optimization is basically useless on many programs vs. the 10% that makes the important bits run fast.

There are no comments on this comment yet.