Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Teaching and learning resources • Re: Advent of Code 2025

$
0
0
Next up is Kotlin.
Kotlin was even easier. All I did was download version 2.2.21 from

https://github.com/JetBrains/kotlin/releases

unzip it into /usr/local and create links from /usr/local/kotlinc/bin to /usr/local/bin. It just worked after that. Moreover, Shy seems very happy.

I now have templates in C, Kotlin, Hare and Go which do nothing

Code:

Advent of Code 2025 Day 1 (c)Total execution time 1.11e-07 seconds.
when run. The sizes of the each executable

Code:

-rwxr-xr-x 1 ejolson users   74160 Dec  1 05:13 day01-c-rwxr-xr-x 1 ejolson users 2298509 Dec  1 05:13 day01-go-rwxr-xr-x 1 ejolson users  841616 Dec  1 05:12 day01-ha-rw-r--r-- 1 ejolson users 5125643 Dec  1 05:13 day01.jar
span almost 2 decimal orders of magnitude.

The day 1 puzzle has opened, but the mice are nonfunctional after the singing and everyone is tired. I'll post solutions as they come in.

Has anyone else started?

Statistics: Posted by ejolson — Mon Dec 01, 2025 5:17 am



Viewing all articles
Browse latest Browse all 8374

Trending Articles