Skip to main content

One post tagged with "compiler"

View All Tags

· 2 min read
Jake Russo

So, after reading a few articles that inspired, I have started a branch on rhi that will be for no nan-boxing and just straight Go structs inside of a large array. I am not playing with slices right now because I don't particularly like how they can be attached to old backing array and I had some trouble with that in my previous Go project.

Adrian Sampson's article Flattening ASTs (and Other Compiler Data Structures) was a great read and reminded me that I often make problems bigger than they need to be. I was chasing this ridiculous floating point NAN approach and didn't stop to think about how that was slowing me down.