Optimising and inlining Smalltalk message sends: https://clementbera.wordpress.com/2014/08/12/arithmetic-inlined-and-special-selectors/ -- interesting discussion of JIT weaknesses.
miniblog.
Related Posts
A great deep dive on building GitHub's code view, optimising React, scaling to thousands whilst supporting both Ctrl-F and syntax highlighting:
Optimising GHC, implementing assembly pretty-printers, and the tradeoffs of implementing against an interface: https://www.tweag.io/blog/2022-12-22-making-ghc-faster-at-emitting-code/
Interpreters versus compilers as a spectrum, and a fun worked example of optimising Brainfuck:

