From the about page: "... However, you should do Advent of Code in a way that is useful to you, and so it is completely fine to choose an approach that meets your goals and ignore the leaderboard entirely."
I'm used to reading about a given C/C++ program being implemented in Rust, and was delighted to see such an effort in a functional programming language.
I know little about functional programming languages but I've always been interested in how languages like Ada and now Rust can help programmers write safer code. I'm curious what advantages a rewrite of a C/C++ app in a FP language provides and also what advantages a FP language brings in comparison to a language like Rust.
It reminded me of The Twin spreadsheet from the late 1980s. I worked at a plastics plant that used it in their color lab until at least 2013 when I left. There were thousands of color recipes and no one wanted to try and convert all of that to a newer spreadsheet.
That's a really good point. I'm using macOS and I tested -w option against a CSV file that is about 430MB in size and has about 18,000,000 words in it. The time was 0.989. When I ran wc2 on the same file, it clocked in at 0.943.
I wondered what I was doing wrong and came back to the comments section and found your comment. Ah.
Edit: interestingly, the newline count time was 0.458 with the macOS version and 0.943 with wc2.
I tried a quick search between mdfind, bfs, and find to locate all README.md files in my home directory. bfs and find both found 2930 files and took 8.5s and 47.5s respectively. mdfind took 0.1s but found only 2400 files.
I worked with an engineer who didn't like Macs. I don't prefer the "Magic Mouse" however I bought it when it first came out and showed it to him. Not long after that I saw him using the mouse and he used it for years. He absolutely loved it.
This YouTube personality Indigo Traveller has what I thought to be an interesting series of videos on his visit to Iran. A number of similarities in what you wrote and what his videos showed.
Best programming book I ever read. His later "Condensed Pascal" isn't quite as good -- a little too, well, condensed. Too bad that's the only one I could find to buy after having had to return Oh, Pascal to the city library.
(OK, it's hard to compare; Code Complete and other much later stuff might be just as good. Too many decades between when I read them to say for sure.)
Interesting; possibly running under Rosetta? I could see crypto operations being very poorly emulated, and if it had to be translated first (if you only ran it once), that would obviously be even worse.