time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

README.md (1537B)


      1 ## Intial impressions
      2 
      3 Rust seems like it has a) great documentation, b) a better randomness generator than the one I was previously using.
      4 
      5 Rust feels like pulling my teeth here, partly because I'm developing this on a server rather than on my own computer.
      6 
      7 ## Docs
      8 
      9 The specific library I'll be using:
     10 
     11 - https://crates.io/crates/rand_distr
     12 - https://docs.rs/rand_distr/latest/rand_distr/index.html
     13 - https://github.com/rust-random/rand/
     14 - https://docs.rs/rand_distr/latest/rand_distr/index.html
     15 - https://docs.rs/rand/latest/rand/
     16 
     17 An underlying normal distribution algorithm that might be better than the Bo-Muller method.
     18 
     19 - https://docs.rs/rand_distr/latest/src/rand_distr/normal.rs.html#238-307
     20 - https://www.doornik.com/research/ziggurat.pdf
     21 - https://en.wikipedia.org/wiki/Ziggurat_algorithm
     22 
     23 A book produced as documentation (! <3%): https://rust-random.github.io/book/intro.html
     24 
     25 ----
     26 
     27 Some more ressources:
     28 
     29 - https://prng.di.unimi.it/#remarks
     30 - https://www.pcg-random.org/pdf/hmc-cs-2014-0905.pdf
     31 - https://web.archive.org/web/20160801142711/http://random.mat.sbg.ac.at/results/peter/A19final.pdf
     32 
     33 ---
     34 
     35 - https://doc.rust-lang.org/rust-by-example/
     36 - https://doc.rust-lang.org/book/
     37 
     38 ## To do
     39 
     40 - [x] Figure out libraries
     41 - [x] Write initial botec example
     42 - [ ] Add concurrency <https://doc.rust-lang.org/book/ch16-03-shared-state.html>
     43 - [ ] Figure out how to compare with other languages
     44   - This is going to be super annoying, since I no longer have the runtimes for the other languages in this new slow computer of mine.