Transpiling reproducibility: Multi-language implementation for the St. Nicolas House Analysis algorithm using Fusion
C. Olvera, A. D. P. Hernandez, R. Zarazua Navarro, H. P. Kumar, P. Fusik, D. Groth
Key points
From the paper's conclusion- These findings demonstrate that modern transpilers can eliminate cross-ecosystem translation tax while guaranteeing cross-language reproducibility in computational biology.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- f2x50: A Repository-Scale Benchmark for Fortran-to-X Software MigrationarXiv · 2026
- hpci improves reproducibility of computational biology research by integrating Continuous Integration with High Performance Computing clustersBioinformatics · 2026
- RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code TranslationIEEE Transactions on Software Engineering · 2025
- Code–Test Co-translation: Towards Practical and Effective Program Migration in the WildProceedings of the ACM on Programming Languages · 2026
- IRONPROOF: COBOL-to-Python Transpilation with SMT-Based Equivalence CheckingarXiv · 2026
- Filtr: Compiling Bioinformatics RecurrencesProceedings of the ACM on Programming Languages · 2026