Skip to content

[Bioc-devel] Bioconductor package based on Julia?

3 messages · Verena Korber, Ali Mostafa, Nanda, Pariksheet

#
Hi both,

Many thanks for your detailed responses. The reason we want to build the package on Julia is that we use approximate Bayesian Computation, which runs significantly faster in Julia than in R. You?re probably right that compiling on C++ would be more straightforward and I see the points you make. My senses was it would be nice to have an R interface as this is more accessible to many users but reading your responses, I think that?s probably not the way to take things forward.

Many thanks again for your help and all the best,

Verena
#
Hi everyone,

I am dealing with a similar situation involving an R package that sources
Julia code. One approach we are considering is to provide parallel
implementations in both R and Julia, with the package defaulting to the
Julia backend when available and automatically falling back to a pure R
implementation otherwise. This would allow the package to remain usable
without a Julia installation, while still benefiting from Julia?s
performance when present.

Would such a design be considered reasonable, and potentially acceptable,
for a Bioconductor submission?

Kind regards,
Ali

On Tue, 3 Feb 2026 at 10:26, Verena Korber via Bioc-devel <
bioc-devel at r-project.org> wrote:

            

  
  
#
Hi Ali and Verena,

I like Ali?s idea and it would certainly simplify Bioconductor acceptance. Two things to keep in mind with a parallel implementation approach would be keeping the R and Julia backends consistent with any upstream changes and the possibility of getting different results from the two backends. I have found that approximate Bayesian computing (ABC) calibration frameworks typically do not sufficiently expose their pseudo random number generation (PRNG) facility to guarantee consistency of outputs because of the inherent particle sampling parallelism in ABC. If one were to go down the route of using an R ABC implementation, one would need to at least warn about differences in results between the R and Julia backends. For consistency of output from a given backend, instead of a quiet fallback, it may be better for the user to explicitly choose which backend to use at runtime given the potential PRNG issue above.

Pariksheet
On Feb 3, 2026, at 03:48, Ali Mostafa <aliali.mostafa99 at gmail.com> wrote:
You don't often get email from aliali.mostafa99 at gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

Hi everyone,

I am dealing with a similar situation involving an R package that sources Julia code. One approach we are considering is to provide parallel implementations in both R and Julia, with the package defaulting to the Julia backend when available and automatically falling back to a pure R implementation otherwise. This would allow the package to remain usable without a Julia installation, while still benefiting from Julia?s performance when present.

Would such a design be considered reasonable, and potentially acceptable, for a Bioconductor submission?

Kind regards,
Ali
On Tue, 3 Feb 2026 at 10:26, Verena Korber via Bioc-devel <bioc-devel at r-project.org<mailto:bioc-devel at r-project.org>> wrote:
Hi both,

Many thanks for your detailed responses. The reason we want to build the package on Julia is that we use approximate Bayesian Computation, which runs significantly faster in Julia than in R. You?re probably right that compiling on C++ would be more straightforward and I see the points you make. My senses was it would be nice to have an R interface as this is more accessible to many users but reading your responses, I think that?s probably not the way to take things forward.

Many thanks again for your help and all the best,

Verena
_______________________________________________
Bioc-devel at r-project.org<mailto:Bioc-devel at r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel