JavaScript is a very hard language to optimize, especially as a compilation target. When a function gets called enough times, a function is considered ‘hot’ and gets optimized based on its past usages.

8m read timeFrom jfmengels.net
Post cover image
Table of contents
On-the-fly optimizationsHard to predict consequencesDifficulty to benchmarkDifferent engines, different resultsLosing information from source to target languageOptimizing is guessingLearning more
2 Comments

Sort: