miniblog.
← Back to all posts
Dec 18, 2017 at 19:15
A remarkable post introducing a GHC plugin that proves your programs obey laws:
Why prove programs equivalent when your compiler can do that for you? – Blog – Joachim Breitner's Homepage
www.joachim-breitner.de/blog/717-Why_prove_programs_equivalent_when_your_compiler_can_do_that_for_you_
Wilfred Hughes
Related Posts
Dec 4, 2020 at 09:42
I've always wondered why more compilers don't use parameters with basic blocks rather than phi nodes. I enjoyed this post discussing tradeoffs, including comments on how GHC and Swift model blocks:
The hidden problem(?) with basic block procedures in SSA : ezyang’s blog
blog.ezyang.com/2020/10/the-hidden-problem-with-basic-block-procedures-in-ssa/
Wilfred Hughes
Shared words: GHC, post Score: 68.1
May 17, 2023 at 05:05
Optimising GHC, implementing assembly pretty-printers, and the tradeoffs of implementing against an interface:
Making GHC faster at emitting code
How we gained 2–3% improvements in compile times by making GHC better at printing code.
Wilfred Hughes
Shared words: GHC Score: 30.3
Jan 31, 2022 at 17:34
Lovely example of using fuel to debug compiler optimisation passes in GHC:
Debugging compilers with optimization fuel : ezyang’s blog
blog.ezyang.com/2011/06/debugging-compilers-with-optimization-fuel/
Wilfred Hughes
Shared words: GHC Score: 30.3