Hacker GitHub

← All repos

jesusfv/Comparison-Programming-Languages-Economics

View on GitHub ↗ ★ 277 C++

A Comparison of Programming Languages in Economics

7 mentions on Hacker News by 7 people: 0 stories, 7 comments · first 2014-06-30 · latest 2015-12-13

Mentions per year 7 mentions · busiest year 2014 (4)
20082026
  1. Compare the implementation of a simple numerical program in Haskell https://github.com/jmoy/avb-econ-hs/blob/f6d65af480c99045573... to that in Julia https://github.com/jesusfv/Comparison-Programming-Languages-... Despite the Haskell…
  2. 10x speedup (same algorithms, same architecture) replacing Java with C++ is not possible (~2x at max). One of the latest benchmarks I've seen is "Comparison of Programming Languages in Economics" [1] for code without any IO just number…
  3. github: https://github.com/jesusfv/Comparison-Programming-Languages-...
  4. Another interesting comparison from the github repo[1] is the proportions of lines that it took in each language. [1] https://github.com/jesusfv/Comparison-Programming-Languages-...
  5. I almost gasped when I saw that their R code[1] does the bulk of its computations inside a while(...for(...for(...for(...if(...){...}else{...})))) block, instead of using functionals like apply and 'vectorized' operations like ifelse . If…
  6. Their code is on github [1]. I am a C++ programmer so I'm happy that C++ came out on top, but the comparison is obviously flawed (as these sorts of comparisons always are). The problem is that the implementers don't have the same level of…
  7. GitHub repo and PDF here: https://github.com/jesusfv/Comparison-Programming-Languages-...