-
Book Overview & Buying
-
Table Of Contents
Building Programming Language Interpreters
By :
This is a topic that is the dedicated subject of several books, so I will not pretend to cover it extensively. However, there are a few aspects that I think are particularly relevant to the design process for an interpreter or language runtime. I want to briefly discuss those before jumping into the design decisions I will make here.
The access patterns to memory, particularly for write access, are currently one of the biggest drivers of the performance characteristics of any system. The coherency requirements for unified memory access across the execution of parallel threads in a program mean that if you try to read and write the same memory from more than one processor, it will result in several layers of cache invalidation, which will result in a slowdown in the execution of the code that is very hard to optimize after the fact.
Optimizing the memory access patterns is currently one of the most important activities when designing...
Change the font size
Change margin width
Change background colour