Skip to content

Comment on Cote D'Azur – Performance of pi calculation in multiple languages (2013)parent

Comments

I would agree that this is a test of rand(). There is no significant difference in the workload... other than the library implementations of the rng. All the lower-level compilers (C,Go,Rust) should be producing effectively the same code for this which then calls out to the ir library rng. I strongly suspect the time is dominated by the rng duration. Maybe someone should benchmark the rng??

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.