난수 생성기가 만만해보여 먼저 찾아봤다. 적당히 복붙해서 구현하려 했으나 균일성, 편향제거, 동시성, 병렬성등 고려해야 할게 많다는 사실을 새삼 깨달았다. 그동안 단일 스레드 환경에서 편하게 살았음을 실감했다.

1

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01988d6c-f50e-7adb-bbea-1c53ce430e31 on your instance and quote it. (Note that quoting is not supported in Mastodon.)