Re:What Is Good About Haskell?
by reificator on Thursday October 03, 2019 @10:27PM
(#21154309)
Yeah I'm definitely not saying anything bad about the Dragon book here.
But I know there's a recency bias when people are evaluating tech books, so if there's a good book from the last five years I'll recommend that over a great book from the last 15, just so there's a higher chance of the recommendation actually being used.
Re:What Is Good About Haskell?
by AdieuToLogic on Thursday October 03, 2019 @10:55PM
(#21154415)
No worries mate.
I mentioned the dragon book by obligation, not in comparison to the works you referenced.
If anyone is curious about an updated resource, I've found Modern Compiler Design much more approachable than the Dragon Book: Published in 2012, it includes chapters on designing object-oriented, functional, and logical compilers.
Re:What Is Good About Haskell?
by reificator on Friday October 04, 2019 @01:43PM
(#21160043)
Hadn't heard about that one, thanks!
Another exercise, perhaps less demanding in this regard, is to explore using Free Monads[0] to implement an EDSL[1] for a problem domain. Of course, the approachability of this varies based on the person involved.
> For instance, and amusingly enough written in golang, one of the most respected recent books on this topic is `Writing an Interpreter in Go` and its sequel `Writing a Compiler in Go`.
Queue obligatory reference to "the dragon book":
0 - https://softwareengineering.stackexchange.com/questions/2427...1 - https://www.quora.com/What-is-an-embedded-domain-specific-la...
2 - https://suif.stanford.edu/dragonbook/