@[email protected] to Programmer [email protected]English • edit-21 year agoWhat could go wrong trying to solve AoC in Rust?sh.itjust.worksimagemessage-square17fedilinkarrow-up173
arrow-up173imageWhat could go wrong trying to solve AoC in Rust?sh.itjust.works@[email protected] to Programmer [email protected]English • edit-21 year agomessage-square17fedilink
minus-squarejanAkalilinkfedilinkEnglish2•edit-21 year agoIt’s Nim, but I have no idea why you can’t do this in Rust: var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt) Full solution: https://codeberg.org/Archargelod/aoc23-nim/src/branch/master/day_05/solution.nim
minus-square@[email protected]linkfedilink1•1 year agoAhh, it is the same thing. Rust example surely has some cruft, but mostly for the better. I’m sure not all of it is needed.
It’s Nim, but I have no idea why you can’t do this in Rust:
Full solution: https://codeberg.org/Archargelod/aoc23-nim/src/branch/master/day_05/solution.nim
Ahh, it is the same thing. Rust example surely has some cruft, but mostly for the better. I’m sure not all of it is needed.