A comparison of programming languages in macroeconomics
S. Boragan Aruoba and
Jesus Fernandez-Villaverde
Journal of Economic Dynamics and Control, 2015, vol. 58, issue C, 265-273
Abstract:
We solve the stochastic neoclassical growth model, the workhorse of modern macroeconomics, using C++14, Fortran 2008, Java, Julia, Python, Matlab, Mathematica, and R. We implement the same algorithm, value function iteration, 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.
Keywords: Dynamic equilibrium economies; Computational methods; Programming languages (search for similar items in EconPapers)
JEL-codes: C63 C68 E37 (search for similar items in EconPapers)
Date: 2015
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (12)
Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0165188915000883
Full text for ScienceDirect subscribers only
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:eee:dyncon:v:58:y:2015:i:c:p:265-273
DOI: 10.1016/j.jedc.2015.05.009
Access Statistics for this article
Journal of Economic Dynamics and Control is currently edited by J. Bullard, C. Chiarella, H. Dawid, C. H. Hommes, P. Klein and C. Otrok
More articles in Journal of Economic Dynamics and Control from Elsevier
Bibliographic data for series maintained by Catherine Liu ().