Transpiling reproducibility: Multi-language implementation for the St. Nicolas House Analysis algorithm using Fusion

The integration of tools written in different programming languages is common in bioinformatics pipelines. When extending these tools, developers are required to either manually port the code or use wrapper libraries, which incurs a substantial “translation tax” on developer time. Transpilers have emerged as a potential solution, enabling the generation of algorithm implementations in multiple languages from a single source code base. However, it remains essential to establish whether transpiled code preserves both functional correctness and stochastic reproducibility across language ecosystems. In this case study, we investigated whether the Fusion language and its fut transpiler could produce functionally identical, stochastically reproducible, and high-performing code for the St. Nicolas House Analysis (SNHA) algorithm across multiple target languages. The SNHA algorithm was implemented once in Fusion and transpiled to nine target programming languages. The generated code was evaluated against reference R, Python, and Julia implementations using the clinical birthwt dataset and a 26-variable synthetic benchmark dataset evaluated over 1,000 bootstrap iterations. All nine transpiled outputs produced identical network structures to the original R implementation. With the deterministic Xorshift*64 pseudo-random number generator integrated into the algorithm, all languages generated identical bootstrapped datasets and adjacency matrices. Runtimes and memory usage spanned more than two orders of magnitude: the transpiled Python implementation achieved an 8.5-fold speedup and an 8.8-fold reduction in peak memory relative to reference Python, while compiled targets (C, C++) achieved speedups exceeding 160-fold and memory reductions up to 36-fold. These findings demonstrate that modern transpilers can eliminate cross-ecosystem translation tax while guaranteeing cross-language reproducibility in computational biology.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-11-23
DOI
https://doi.org/10.64898/2026.11.20.768087
Primary Topic
Scientific Computing and Data Management
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Transpiling reproducibility: Multi-language implementation for the St. Nicolas House Analysis algorithm using Fusion

Detlef Groth, Christopher Olvera, Roberto Zarazua Navarro, Piotr Fusik et al.
bioRxiv (Cold Spring Harbor Laboratory)
Scientific Computing and Data Management
preprint

Transpiling reproducibility: Multi-language implementation for the St. Nicolas House Analysis algorithm using Fusion

Detlef Groth, Christopher Olvera, Roberto Zarazua Navarro, Piotr Fusik, Harshini Praveen Kumar, Alba De Prada Hernandez
preprint en

Abstract

The integration of tools written in different programming languages is common in bioinformatics pipelines. When extending these tools, developers are required to either manually port the code or use wrapper libraries, which incurs a substantial “translation tax” on developer time. Transpilers have emerged as a potential solution, enabling the generation of algorithm implementations in multiple languages from a single source code base. However, it remains essential to establish whether transpiled code preserves both functional correctness and stochastic reproducibility across language ecosystems. In this case study, we investigated whether the Fusion language and its fut transpiler could produce functionally identical, stochastically reproducible, and high-performing code for the St. Nicolas House Analysis (SNHA) algorithm across multiple target languages. The SNHA algorithm was implemented once in Fusion and transpiled to nine target programming languages. The generated code was evaluated against reference R, Python, and Julia implementations using the clinical birthwt dataset and a 26-variable synthetic benchmark dataset evaluated over 1,000 bootstrap iterations. All nine transpiled outputs produced identical network structures to the original R implementation. With the deterministic Xorshift*64 pseudo-random number generator integrated into the algorithm, all languages generated identical bootstrapped datasets and adjacency matrices. Runtimes and memory usage spanned more than two orders of magnitude: the transpiled Python implementation achieved an 8.5-fold speedup and an 8.8-fold reduction in peak memory relative to reference Python, while compiled targets (C, C++) achieved speedups exceeding 160-fold and memory reductions up to 36-fold. These findings demonstrate that modern transpilers can eliminate cross-ecosystem translation tax while guaranteeing cross-language reproducibility in computational biology.

bioRxiv (Cold Spring Harbor Laboratory)
Warsaw University of Technology (PL), University of Potsdam (DE), Universidad Politécnica de Madrid (ES)
Scientific Computing and Data Management
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