Programming

10 posts in this category

The tools my life runs on

28 September 2024

Programming

The tools my life runs on. What is impressive, and what is tolerated. All can be replaced, except one without which I would stop working.

Choosing a numerical programming language for economic research: Julia, MATLAB, Python or R

13 August 2022 · VoxEU.org

Programming

Economic researchers can choose between four general purpose programming languages – Julia, MATLAB, Python, and R. This column evaluates the four, comparing and contrasting the various language features and making recommendations in particular use cases.

The lifetime of code

26 September 2021

Programming

How far into the future should we be able to execute computer code written today? Next month, next year next decade or next century? My choice of a language depends on the answer to that very question. I recently had a very mixed experience with code and how long I can run it.

Global market risk

14 February 2021

Risk Programming

There are a million ways to measure financial risk, and if one wants to calculate global risk, it requires a truly heroic set of assumptions. But it's much easier to calculate global market risk, and that is what I set myself to do below.

How fast is the Apple M1?

3 February 2021

Programming

The new Apple M1 processor has gotten excellent reviews for speed. Getting curious, I measured its speed on pure c code, latex and R and compared it to its most recent Intel competitors.

Which programming language is best for economic research: Julia, Matlab, Python or R?

20 August 2020 · VoxEU.org

Programming

The most widely used programming languages for economic research are Julia, Matlab, Python and R. This column uses three criteria to compare the languages: the power of available libraries, the speed and possibilities when handling large datasets, and the speed and ease-of-use for a computationally intensive task. While R is still a good choice, Julia is the language the authors now tend to pick for new projects and generally recommend.

ARM on AWS for R

15 June 2020

Programming

Amazon AWS has been recommending ARM Graviton2 as a cost-effective alternative to Intel/AMD instances. So I tried it out.

Of Julia and R

3 May 2020

Risk Programming

I just tried the same code in R's data.tables and Julia's DataFrames, and the results are a bit surprising.

Which numerical computing language is best: Julia, MATLAB, Python or R?

9 July 2018 · VoxEU.org

Programming

Julia, MATLAB, Python and R are among the most commonly used numerical programming languages by economic researchers. In this post, Jon Danielsson and Jia Rong Fan compare and contrast these four, reaching a very subjective conclusion as to which is best and which is worst.

Is Julia ready for prime time?

11 March 2017

Programming

I really want to like Julia. She promises to solve all the frustrations with other numerical languages.