Day 8: Handheld Halting

Puzzle Description

Advent of Code 2020, Day 8

Wow! Another bytecode interpreter! Now with solving the halting problem!

Benchmark

Part 1

Mean

Error

JVM

3.023 ms

+/- 0.604 ms

JS

7.748 ms

+/- 0.145 ms

Native

0.748 ms

+/- 0.111 ms

Part 2

Mean

Error

JVM

4.973 ms

+/- 0.235 ms

JS

12.337 ms

+/- 1.734 ms

Native

2.166 ms

+/- 0.011 ms

Run it in the browser!