Sword: Uma Linguagem De Programação Com Paralelismo Reprodutível Verificado Pelo Compilador
Year: 2026
Type: article
Abstract: Parallel floating-point sums often change their result with the number of threads and with the machine. This work presents Sword, a compiled programming language whose compiler detects data races and checks that the result of functions marked det depends only on their arguments. The guarantee was evaluated against C with OpenMP on five platforms, using a sum of ten million values, a Monte Carlo simulation and elementary functions. Over 40 runs of the sum, C produced 13 different results and Sword produced one. Sword’s plain sum cost the same as C’s; its exact sum cost about nine times more on the hardest data.
DOI: 10.66221/pj3j9c35
Authors: Pedro T Augusto, Alexandre Mignon
Institution: Universidade Presbiteriana Mackenzie
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W7237865472
FWCI:
Cites:
Cited by:
Related to:
