[ell-i-developers] Re: Interesting article

  • From: Pekka Nikander <pekka.nikander@xxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Fri, 4 Jul 2014 08:47:06 +0300

> Hi, here's an interesting article I found about optimization:
> http://issuu.com/eeweb/docs/06_2014_embedded_developer_pages/32?e=7607911/8193154

An Interesting one but I don't agree with everything, e.g. all aspects of using 
attribute(packed).  

> I think I could write a blog post about the same topic and how these kinds of 
> techniques are applied in the ell-I runtime.

A very good idea.  Please go for it.  I think doing this in a group would 
become even better, and in the long run it could grow into a good wiki page 
that lots of people may want to read.  Perhaps even a Usenix paper...


Of the tips in the article, I like the following ones:

#4: Considering register usage, especially in parameter passing
#3/5/6: Mixing C and assembler when it makes sense  

For #7, I'd start a discussion about LLVM, noting that we haven't tried it yet.

#8 is nice but rarely needed or used

I disagree with #9, the compiler should do this when useful, and the 
explanation is not 100% correct.


Besides those, we have the things I tried to explain in one of the talks at the 
Hackathon.  We need to get that out at some point.  Anyone wants to help, 
perhaps you Jose?  Just say so and I'll find the time to place the slides into 
github.

--Pekka


Other related posts: