this post was submitted on 01 Dec 2023
15 points (100.0% liked)
NotAwfulTech
6 readers
1 users here now
a community for posting cool tech news you don’t want to sneer at
non-awfulness of tech is not required or else we wouldn’t have any posts
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
a,b, not much to say
The hardest part has finding the right dart ascii library to use (by default dart treats everything as UTF-16, which is horrible for this sort of thing) and the right data structure (linked hash map, which is a map that remembers insertion order.)spoiler
"you have linked hash maps? LUXURY!"
In my code I had to resort to this sorting
Perl at its best!
I am so mad that I don’t know Perl, honestly.
It's a nice language! And I believe it's what AoC is made in. Certainly a lot of stuff seems tailor-made for the language.