Marcel Köster

Learn More
Many modern programming languages support both imperative and functional idioms. However, state-of-the-art imperative intermediate representations (IRs) cannot natively represent crucial functional concepts (like higher-order functions). On the other hand, functional IRs employ an explicit scope nesting, which is cumbersome to maintain across certain(More)
Partial evaluation allows for specialization of program fragments. This can be realized by staging, where one fragment is executed earlier than its surrounding code. However, taking advantage of these capabilities is often a cumbersome endeavor. In this paper, we present a new metaprogramming concept using staging parameters that are first-class citizen(More)
A straightforward implementation of an algorithm in a general-purpose programming language does usually not deliver peak performance: Compilers often fail to automatically tune the code for certain hardware peculiarities like memory hierarchy or vector execution units. Manually tuning the code is firstly error-prone as well as time-consuming and secondly(More)
We present a framework for setting up interactive three-dimensional outer-space simulations for media facades and other display environments. The core of this framework consists of a space simulator that is capable of efficiently rendering large amounts of objects and computing their physical behavior in real time. The extensible framework further allows to(More)
The Position Based Fluids (PBF) method is a state-of-the-art approach for fluid simulations in the context of real-time applications like games. It uses an iterative solver concept that tries to maintain a constant fluid density (incompressibility) to realize incompressible fluids like water. However, larger fluid volumes that consist of several hundred(More)
In this demonstration paper we present a first use case of our space-simulation framework targeting media facades and other interactive display environments. This use case displays a planetary system with colliding space objects at the media facade of the Academy of Fine Arts Saar. We further integrated a web-based GUI to allow interaction with the(More)
This paper applies partial evaluation to stage a stencil code Domain-Specific Language (DSL) onto a functional and imperative programming language. Platform-specific primitives such as scheduling or vectorization, and algorithmic variants such as boundary handling are factored out into a library that make up the elements of that DSL. We show how partial(More)
  • 1