Advent-of-code 2021
Using Wolfram Mathematica for this is more satisfying than it should be https://www.wolframcloud.com/obj/agam.brahmawolfram/Published/AOC%202021.nb It was shockingly easy to do all this. * REPL/N…
49 posts
Using Wolfram Mathematica for this is more satisfying than it should be https://www.wolframcloud.com/obj/agam.brahmawolfram/Published/AOC%202021.nb It was shockingly easy to do all this. * REPL/N…
I check out the "Scheme universe" every couple years or so, and it's a big and varied place now! I was aware of "Guile and Chicken" a decade ago. Since then: * Chez was ope…
Came across this on the "Programming Praxis" blog I thought I'd use something other than a "typical" programming language, by which I mean not "an esoteric language"…
Sometime last year, I had tried writing a parser for basic arithmetic to drive a simple calculator in Scala. To follow-up, I decided to try writing this in Rust. I looked at some parser crates, sett…
This was a funny quote: Many people try to compare Rust to Go, but this is flawed. Go is an ancient board game that emphasizes strategy. Rust is more appropriately compared to Chess, a board game foc…
Over the weekend, I took a first stab at transforming my prior little cave-generation toy (https://abacusnoir.blog/2020/08/02/cave-generation/) from Scala to Rust. Old repo: https://bitbucket.org/aga…
Here1 (credits to Ben Lynn2) is a simple calculator in Haskell. I decided to try porting it over3 to Scala. The original example also makes this work in Javascript using Haste; I’ve left this out for…
I came across this brief overview1 of generating ASCII representations of dungeons, and decided to take a stab at a Scala version of the same. The basic idea is (1) generate some random walls, and th…
Context As hinted at in the first post, I found Abhinav’s posts to be a great source material for learning and (over this weekend) recreation :-) I picked the second post, where the pruning process…
Context I found this excellent blog post by Abhinav Sarkar that lays out, step-by-step, writing a simple Sudoku solver in Haskell, and … it seemed a good idea to translate it, step-by-corresponding-s…
* How Google ruined the internet :-) * On malleable programming environments * ACM made a bunch of good stuff free for a while * Inspiring story on how the Crafting interpreters book was completed…
* On the differences in dynamic linking between Swift and Rust * Fascinating account on what it took for the PS2 (yes, for old-timers) to have the backward compatibility that made it popular * Anot…