SWORD: UMA LINGUAGEM DE PROGRAMAÇÃO COM PARALELISMO REPRODUTÍVEL VERIFICADO PELO COMPILADOR

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.

Authors

Institutions

Publication Details

Journal
Anais do Congresso Brasileiro de Iniciação Científica
Published
2026-11-22
DOI
https://doi.org/10.66221/pj3j9c35
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

SWORD: UMA LINGUAGEM DE PROGRAMAÇÃO COM PARALELISMO REPRODUTÍVEL VERIFICADO PELO COMPILADOR

Alexandre Mignon, Pedro T Augusto
Anais do Congresso Brasileiro de Iniciação Científica
Parallel Computing and Optimization Techniques
article

SWORD: UMA LINGUAGEM DE PROGRAMAÇÃO COM PARALELISMO REPRODUTÍVEL VERIFICADO PELO COMPILADOR

Alexandre Mignon, Pedro T Augusto
article en

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.

Anais do Congresso Brasileiro de Iniciação CientíficaVol. 3(1)
Universidade Presbiteriana Mackenzie (BR)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon