3 ms·
Man, this feels like a frustratingly good way to get back into Haskell, and on the cutting edge of GHC to boot… Or should I take the plunge and do it in rust?
by cannabis_sam 3y ago
Man, this feels like a frustratingly good way to get back into Haskell, and on the cutting edge of GHC to boot…
Or should I take the plunge and do it in rust?
(If only I was unemployed and could do this in agda/idris/lean…)
- xdavidliu 3y agoI did 2016 in Haskell and 2018 in Rust. Haskell was kind of a pain since I had to do a ton of tail recursion. Rust would be a lot easier since it allows you to be imperative when you need to. And I definitely only used a tiny subset of either language because I wanted to get the solution as quickly as possible. [1] https://github.com/xdavidliu/advent-of-code/tree/main/2016 https://github.com/xdavidliu/advent-of-code/tree/main/2016 [2] https://github.com/xdavidliu/advent-of-code/tree/main/2018 https://github.com/xdavidliu/advent-of-code/tree/main/2018