#AdventOfCode #Day8 with #rust
Uncategorized
1
Posts
1
Posters
0
Views
-
#AdventOfCode #Day8 with #rust
I spent an inordinate amount of time on part1 because
* imo the problem definition is wrong
* it does matter if you put permutations or combinations in the list, even if you filter them out :(
Part 2 is basically the same and I already did it in ruby so I'm not doing it again, at least not today.I wanted to do this with union-find but I have yet to get to the chapter about generics and it seems cheating to do it without it :)
https://gist.github.com/riffraff/267f1e326e447815ab0ac28f217bc01f
Feed RSS
Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
-
-
Yeah ok so my experiment was successful, and my toy raytracer now runs on JIT-compiled "shaders" lmao'n#programming #rust #raytracing #retro
Uncategorized
1
-
Fixing some stuff & adding reflections to my raytracer (along with capping nested traces at a maximum number of bounces)'n#programming #rust #raytracing #retro
Uncategorized
1
-