常用程序设计语言中缺省伪随机数发生器的性能测试
Benchmarking the Status of Default Pseudorandom Number Generators in Common Programming Languages
摘要:
在计算机科学的许多领域,从神经网络到优化,对随机数的需求不断增长。因此,大多数常见的程序设计语言都提供了对伪随机数生成器的简单访问。然而,这些发电机并不都是平等的,经验验证以前已经表明一些在关键方面存在缺陷。由于程序设计语言的不断变化,我们使用大量的统计测试对各种PRNG进行了相同的经验基准测试,并发现虽然一些语言多年来已经有了显着的改进,但仍然存在默认PRNG无法提供足够随机结果的情况。
英文摘要:
The ever-increasing need for random numbers is clear in many areas of computer science, from neural networks to optimization. As such, most common programming language provide easy access to Pseudorandom Number Generators. However, these generators are not all made equal, and empirical verification has previously shown some to be flawed in key ways. Because of the constant changes in programming languages, we perform the same empirical benchmarking using large batteries of statistcal tests on a wide array of PRNGs, and identify that while some languages have improved significantly over the years, there are still cases where the default PRNG fails to deliver sufficiently random results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。