A Hybrid Functional and Object-Oriented Language for a Multi-Core Future

Veldema R, Philippsen M (2011)


Publication Language: English

Publication Type: Journal article, Original article

Publication year: 2011

Journal

Publisher: Gesellschaft für Informatik

Book Volume: 53

Pages Range: 84-90

Journal Issue: 2

URI: http://www2.informatik.uni-erlangen.de/publication/download/itit.2011.0629.pdf

DOI: 10.1524/itit.2011.0629

Abstract

Current (heterogeneous) multi-core environments such as GPU architectures are hard to program with normal imperative and object-oriented (OO) languages because of race-conditions and general side-effects that code may have. We propose that both problems can be solved with a hybrid language that combines both Functional Programming (FP) and OO programming. By auto-parallelization in the FP-core, all loops and non-dependent calls can be executed in parallel. FP is to be used to write computationally intensive code with safe concurrent memory access. OO is to be used for I/O and management related tasks. In this article, we propose a new clean way to integrate the two language cores that even grants some restricted means to read and write arrays and objects from within FP mode. For the proposed new language features we have developed a compiler prototype that transparently parallelizes code to target both Cuda and multi-core machines (without annotations from the programmer) and that obtains good speedups.

Authors with CRIS profile

How to cite

APA:

Veldema, R., & Philippsen, M. (2011). A Hybrid Functional and Object-Oriented Language for a Multi-Core Future. it - Information Technology, 53(2), 84-90. https://dx.doi.org/10.1524/itit.2011.0629

MLA:

Veldema, Ronald, and Michael Philippsen. "A Hybrid Functional and Object-Oriented Language for a Multi-Core Future." it - Information Technology 53.2 (2011): 84-90.

BibTeX: Download