Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by grumpyprole on Sunday March 03, 2024 @03:52AM
(#39579494)
Probably because most programming languages haven't changed, imperative, loops, pervasive side-effects etc. Writing a compiler for a pure functional language would certainly need new material.
[ Parent
| on HN ]
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by dunefox on Sunday March 03, 2024 @04:57AM
(#39579786)
> Writing a compiler for a pure functional language would certainly need new material.
I mean, Haskell is also over 30 years old at this point.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by grumpyprole on Sunday March 03, 2024 @06:45AM
(#39580246)
Yes, but it's changed a lot in 30 years.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by pjmlp on Sunday March 03, 2024 @06:00AM
(#39580070)
On top of sibbling comment, Simon Peyton Jones seminal paper is from 1987.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by grumpyprole on Sunday March 03, 2024 @06:44AM
(#39580242)
He has spent the last 30 years since publishing more papers on compiling functional languages.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by pjmlp on Sunday March 03, 2024 @07:10AM
(#39580359)
Mostly related to adding new features to Haskell and GHC, not on compiling functional languages in general.
Now functional logic languages like Verse, that is definitely new material.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by grumpyprole on Sunday March 03, 2024 @07:49AM
(#39580493)
That's selling him very short. I would say most of his papers are applicable to functional programming in general and not just Haskell.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by pjmlp on Sunday March 03, 2024 @10:23AM
(#39581380)
Only for those that understand functional programming as whatever Haskell does.
Re:CS 6120: Advanced Compilers: The Self-Guided Online Course
by snnn on Tuesday March 05, 2024 @02:26AM
(#39600365)
No, I think it is because most problems are too hard to solve. Think a simplified case: build a compiler for evaluating arithmetic expressions like "a*3+b" and make the generated code as efficient as possible. It is an NP-hard problem!