Interesting! I just read [1] this morning, which describes an optimizing BF compiler (written in Rust) that compiles to LLVM IR. The article also gives a good overview of optimization techniques used.<p>[1]: <a href="http://www.wilfred.me.uk/blog/2015/08/29/an-optimising-bf-compiler/" rel="nofollow">http://www.wilfred.me.uk/blog/2015/08/29/an-optimising-bf-co...</a><p>Edit: Just saw this was also discussed on HN: <a href="https://news.ycombinator.com/item?id=10141604" rel="nofollow">https://news.ycombinator.com/item?id=10141604</a>