Re:Codebender: An online Arduino IDE
by daeken on Monday July 02, 2012 @05:53AM
(#4188145)
In my experience, clang/LLVM tend to spit out significantly larger (10-20%) binaries than gcc for x86 and ARM. Have you seen size increases on the Arduino as well? That'd be a big concern for me, given the limited space available.
[ Parent
| on HN ]
For the moment, we only use it for syntax analysis and to give a beautiful error output for our users. There is an active LLVM backend for AVR with great ponential, currently under development and from what i understand, Atmel is backing it as well, but it's not stable yet. We would like to try it out though.
P.S. A size comparison will be very interesting. I will go out on a limb and assume that LLVM spits larger binaries when optimizing the code for speed. We use -Os to optimize for size, so it will be interesting to see which does the best job.