Por favor, use este identificador para citar o enlazar este ítem:
https://hdl.handle.net/10923/26797
Tipo: | Artigo |
Título: | An internal domain-specific language for expressing linear pipelines: a proof-of-concept with MPI in Rust |
Autor(es): | Faé, Leonardo Gibrowski |
Orientador: | Griebler, Dalvan |
Fecha de Publicación: | 2024 |
Palabras clave: | PARALLEL PROGRAMMING DOMAIN SPECIFIC LANGUAGE PARALLELISM ABSTRACTION MULTI-THREAD MPI |
Resumen: | Parallel computation is necessary in order to process massive volumes of data in a timely manner. There are many parallel programming interfaces and environments, each with their own idiosyncrasies. This, alongside non-deterministic errors, make parallel programs notoriously challenging to write. Great effort has been put forth to make parallel programming for several environments easier. In this work, we propose a DSL for Rust, using the language’s source-to-source transformation facilities, that allows for automatic code generation for distributed environments that support the Message Passing Interface (MPI). Our DSL simplifies MPI’s quirks, allowing the programmer to focus almost exclusively on the computation at hand. Performance experiments show nearly or no runtime difference between our abstraction and manually written MPI code while resulting in less than half the lines of code. More elaborate code complexity metrics (Halstead) estimate from 4.5 to 14.7 times lower effort for expressing parallelism. |
URI: | https://hdl.handle.net/10923/26797 |
Aparece en las colecciones: | TCC Ciência da Computação
|
Todos los ítems en el Repositorio de la PUCRS están protegidos por derechos de autor, con todos los derechos reservados, y están bajo una licencia de Creative Commons Reconocimiento-NoComercial 4.0 Internacional. Sepa más.