Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • 0 Votes
    1 Posts
    0 Views
    so, #Day2 of #AdventOfCode with #rust and #ruby.Brute force, but in ruby it feels more natural for me to create a bunch of arrays, in rust it seemed easier to fiddle with array indexes. I wonder if I could use some "zero cost" slices?I'm pretty sure I could do both things the same way tho. Also my first rust tests! I'm not sure what the naming convention is supposed to be, the rust book doesn't make it clear imo.https://gist.github.com/riffraff/0aae02aeaa3af9e0320b8d944ab78e2d

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti