wangkuiyi / chinese-whisper

Chinese Whisper is an interesting program introduced by Rob Pike. Here we have the program implemented in Go, Scheme and maybe other languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chinese Whispers

Chinese Whispers is an interesting program introduced by Rob Pike in his talk "Go Concurrency Patterns" on Google I/O 2012. The program creates a sequence of 100,001 channels interleaved by 100,000 threads. Each thread reads from the channel to its left and writes processed input to the channel to its right.

This projects contains implementations of Chinese Whispers in various languages. And can be used to test thread models of language implementations.

If you want to have a look at more implementations of Chinese Whispers, please refer to my blog post.

About

Chinese Whisper is an interesting program introduced by Rob Pike. Here we have the program implemented in Go, Scheme and maybe other languages.


Languages

Language:Racket 55.4%Language:Go 44.6%