chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.8k stars 421 forks source link

Random: adaptor for the implementation core #19605

Open vasslitvinov opened 2 years ago

vasslitvinov commented 2 years ago

Can we implement the core functionality of PCGRandomStream in a way that is independent of eltType?

This way we can reduce the amount of code duplication that results from instantiating PCGRandomStream for each eltType.

eltType-specific functionality would come from an adaptor/wrapper.

Related: #19604 #19602

mppf commented 2 years ago

See also https://github.com/chapel-lang/chapel/issues/19604#issuecomment-1091688668

lydia-duncan commented 1 year ago

Random is no longer intended for 2.0, removing the tag