rust non-determinism

Andrius Štikonas andrius at stikonas.eu
Sun Aug 4 17:13:53 UTC 2024


Hi,

guile 3.0.8+ works fine with parallelism now. Live-bootstrap package [1] can be 
build with -j enabled.

Andrius

[1] https://github.com/fosslinux/live-bootstrap/blob/master/steps/guile-3.0.9/
pass1.sh

2024 m. rugpjūčio 4 d., sekmadienis 18:02:26 GMT+1 Bernhard M. Wiedemann via 
rb-general rašė:
> On 04/08/2024 18.42, John Gilmore wrote:
> 
> > "Bernhard M. Wiedemann via rb-general" wrote:
> > 
> >> Via https://github.com/pop-os/launcher/issues/230
> >> I finally found one big clue that points to rust's default of
> >> 
> >>   codegen-units = 16 as the cause.
> > 
> > 
> > Should the Rust documentation be improved with a patch pointing out that
> > the default codegen-units setting mnakes the result not reproducible,
> > (and how to fix it)?
> > 
> > And should a bug be filed against Rustc that their compiler defaults to
> > irreproducible results, while its default should be reproducibility
> > rather than slightly faster compiler runtimes?
> > 
> > (They could fix it by making reproducible symbols even when codegen-units
> > is greater than 1, if they want both reproducibility and faster
> > compiles.)
> 
> 
> Yes, I can file a rust issue tomorrow.
> I hope, it goes better than with sphinx, ghc and guile that only produce 
> deterministic results without parallelism.
> 
> Ciao
> Bernhard M.






More information about the rb-general mailing list