Hacker News new | past | comments | ask | show | jobs | submit login

In times past, it was Pascal that was my language of choice[1]. This year, I'm going to use a virtual BitGrid[2]. Here's the repo[3] Hopefully I can finish the 2023 problems before next November, I have nothing but the simulator. Nothing to convert text to code, do I/O, etc.

Oh boy.... Day 1 A... and I have to figure out how to feed text into a bitgrid, and get it out the other side... before I can even think about parsing it, making integers, and adding them, then converting back to text.

BitGrid - a sea of LUTs with latches, completely parallel down to the bit processing. Each LUT has 4 bits of input, and 4 independent bits out to each cardinal direction. Clocking in 2 phases, like colors on a chess board, to eliminate undefined behavior or timing issues.

[1] https://github.com/mikewarot/Advent_of_Code_in_Pascal

[2] https://github.com/mikewarot/Bitgrid

[3] https://github.com/mikewarot/Advent_of_Code_in_BitGrid




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: