[2020 Day 1] Performance comparison of solutions in 7 different languages

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • aoc

  • I would only consider myself conversant in 3 of these languages, so don't assume the timing metrics reflect the relative performance characteristics of these languages. For example, the solutions in C and python implement a bit vector solution inspired by a u/askalsi post, but my rust solution, which represented the first lines of rust code I'd ever written, was more naive.

  • aoc2020

    Advent of Code 2020 - my answers

  • I benchmarked all 25 days in 4 languages (using GitHub Actions, which performs worse than my local dev setup, but feels more fair for reproducibility). Can't get any pretty animated output, though.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts