JavaScript engine fundamentals: optimizing prototypes - Javascript objects are structured around prototypes, and as such lookups that walk to prototype chain happen very often, so it’s an important area of optimisation - The article does a quick refresh of the various javascript engine implementations, discussing the trade-offs inherent in each, looks at some examples of bytecode vs machine code in the context of optimising execution, and then covers the core part of the article on optimising prototype property access, including a great overview of classes, prototype based programming and the prototype chain; how the prototype link is stored on the Shape class rather than the instance, how ValidityCells are used to invalidate the inline cache, and why modifying Object.prototype during runtime destroys performancemathiasbynens.be #