Font Size: a A A

Stella: A Python-based domain-specific language for simulation

Posted on:2016-11-01Degree:Ph.DType:Dissertation
University:The University of New MexicoCandidate:Mohr, DavidFull Text:PDF
GTID:1478390017488630Subject:Computer Science
Abstract/Summary:
STELLA is a domain-specific language that (1) has single thread performance competitive with low-level languages, (2) supports object-oriented programming (OOP) to properly structure the code, and (3) is very easy to use. Instead of prototyping in a high-level language and then rewriting in a lower-level language, STELLA is embedded in Python, is transparently usable, retains some OOP features, compiles to machine code, and executes at speed similar to C. STELLA's source code is compatible with Python, and allows easy integration of C libraries. Its features are focused on the needs of scientific simulations. Other projects to speed up Python focus on easy integration, and smaller critical sections. In contrast, STELLA supports translating larger programs in their entirety, and does not allow interaction with the Python run-time, to ensure predictable performance. My experience developing STELLA shows that by carefully selecting language features, high run-time performance can be achieved in a high-level language that has in practice very few restrictions.
Keywords/Search Tags:Language, STELLA, Python, Performance
Related items