Day 8: Handheld Halting

Puzzle Description

Advent of Code 2020, Day 8

Full Solution Source

My Solution for 2020, Day 8

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

Benchmark

Part 1

Mean

Error

JVM

528.015 μs

+/- 11.562 μs

JS

947.808 μs

+/- 1.475 μs

Native

757.904 μs

+/- 0.584 μs

Part 2

Mean

Error

JVM

1915.456 μs

+/- 38.008 μs

JS

2610.821 μs

+/- 16.546 μs

Native

2279.036 μs

+/- 11.089 μs

Run it in the browser!