Browsing by Author "Pereira, David"
Now showing 1 - 2 of 2
Results Per Page
Sort Options
- ItemOpen AccessDYNAMIC REGION INFERENCE(2002-12-06) Pereira, David; Aycock, JohnWe present a garbage collection scheme based on reference counting and region inference which, unlike the standard reference counting algorithm, handles cycles correctly. In our algorithm, the fundamental operations of region inference are performed dynamically. No assistance is required from the programmer or the compiler, making our algorithm particularly well-suited for use in dynamically-typed languages such as scripting languages. We provide a detailed algorithm and demonstrate how it can be implemented efficiently.
- ItemOpen AccessINSTRUCTION SET ARCHITECTURE OF MAMBA, A NEW VIRTUAL MACHINE FOR PYTHON(2002-09-30) Pereira, David; Aycock, JohnPython programs are implemented by compiling them into code for a virtual machine. Mamba is a new virtual machine for Python whose design is minimalist and register-based. In contrast, the current Python virtual machine is stack-based and contains almost six times as many instructions as Mamba. We anticipate that our smaller instruction set will greatly simplify optimization implementation. In this paper we detail Mamba's instruction set and execution model.