EconPapers    
Economics at your fingertips  
 

A Comparison of Programming Languages in Economics

S. Boragan Aruoba and Jesus Fernandez-Villaverde

No 20263, NBER Working Papers from National Bureau of Economic Research, Inc

Abstract: We solve the stochastic neoclassical growth model, the workhorse of modern macroeconomics, using C++11, Fortran 2008, Java, Julia, Python, Matlab, Mathematica, and R. We implement the same algorithm, value function iteration with grid search, in each of the languages. We report the execution times of the codes in a Mac and in a Windows computer and briefly comment on the strengths and weaknesses of each language.

JEL-codes: C0 E0 (search for similar items in EconPapers)
Date: 2014-06
New Economics Papers: this item is included in nep-cmp, nep-dge and nep-mac
Note: EFG
References: Add references at CitEc
Citations: View citations in EconPapers (4)

Published as Journal of Economic Dynamics and Control Volume 58, September 2015, Pages 265-273

Downloads: (external link)
http://www.nber.org/papers/w20263.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:nbr:nberwo:20263

Ordering information: This working paper can be ordered from
http://www.nber.org/papers/w20263

Access Statistics for this paper

More papers in NBER Working Papers from National Bureau of Economic Research, Inc National Bureau of Economic Research, 1050 Massachusetts Avenue Cambridge, MA 02138, U.S.A.. Contact information at EDIRC.
Bibliographic data for series maintained by ().

 
Page updated 2024-12-28
Handle: RePEc:nbr:nberwo:20263