dimroc / etl-language-comparison

Count the number of times certain words were said in a particular neighborhood. Performed as a basic MapReduce job against 25M tweets. Implemented with different programming languages as a educational exercise.
http://blog.dimroc.com/2015/11/14/etl-language-showdown-pt3/
186 stars 33 forks source link

Basic implementation in nim #7

Closed maxgrenderjones closed 9 years ago

maxgrenderjones commented 9 years ago

For my own education, I thought it might be fun to implement the task in nim, a compiles-to-C pythonic-syntax language. After a bit of fiddling (I'm still learning nim) it ends up looking pretty close to the python version, but runs much faster (<6s on my Macbook Pro i5)

dimroc commented 9 years ago

Thanks @maxgrenderjones! I'll try to check it out this weekend

dimroc commented 9 years ago

Wow this is indeed fast. Thanks @maxgrenderjones.

dimroc commented 8 years ago

Hi @maxgrenderjones, Would you be up to adding a README.md to the nim/ folder talking about the implementation?

maxgrenderjones commented 8 years ago

Sure - it's mostly leaning on the python implementation, but should be able to, yes

On Mon, Nov 16, 2015 at 4:13 PM, Dimitri Roche notifications@github.com wrote:

Hi @maxgrenderjones https://github.com/maxgrenderjones, Would you be up to adding a README.md to the nim/ folder talking about the implementation?

— Reply to this email directly or view it on GitHub https://github.com/dimroc/etl-language-comparison/pull/7#issuecomment-157084092 .

Max Grender-Jones +447791779649