Paper
31 December 2020 Parallel machine simulator using racket/scheme functional programming language
Calin Bîră, Liviu Gugu
Author Affiliations +
Proceedings Volume 11718, Advanced Topics in Optoelectronics, Microelectronics and Nanotechnologies X; 117182N (2020) https://doi.org/10.1117/12.2572096
Event: Advanced Topics in Optoelectronics, Microelectronics and Nanotechnologies 2020, 2020, Online Only
Abstract
In this paper we investigate writing and using of a functional parallel-machine simulator, in a functional programming language as opposed to an imperative programming language, in terms of code-size, versatility and performance. As a use-case we chose a SIMD-type machine, and the Racket/Scheme programming language,. The main advantages over the use of imperative programming languages for creating architectural simulators are (i): the loose coupling to the architecture and (ii) the lack of an explicit compiler. By attempting two common software implementations and some changes to the base architecture we argue that the simulator is better in terms of algorithm-code size and system versatility (number of required changes for extending functionality) but not in execution speed (as it is running on a von Neumann machine, where C++ code is compiled into native machine code, not interpreted)
© (2020) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Calin Bîră and Liviu Gugu "Parallel machine simulator using racket/scheme functional programming language", Proc. SPIE 11718, Advanced Topics in Optoelectronics, Microelectronics and Nanotechnologies X, 117182N (31 December 2020); https://doi.org/10.1117/12.2572096
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Computer programming languages

Computer architecture

Computer simulations

C++

Back to Top