8

Cheaply writing a fast interpreter - Neil Mitchell

 3 years ago
source link: https://www.youtube.com/watch?v=V8dnIw3amLA
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#londonperfsummit

Cheaply writing a fast interpreter - Neil Mitchell

1,273 views
•Feb 26, 2021

For dynamic languages, there are well known approaches to achieve maximum performance, e.g. JIT. But such approaches are often very expensive to implement and maintain. In this talk we'll look at ways of implementing interpreters for less frequently used languages, which necessarily trade off performance vs implementation effort. As an example, we will consider the Starlark configuration language, a deterministic subset of Python used by the build systems Buck and Bazel. We'll cover techniques such direct AST interpretation, bytecode, closure generation - comparing the effort and performance of each approach.

London Performance Summit 2nd edition @perfsummit1 #londonperfsummit


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK