View previous topic :: View next topic |
Author |
Message |
hisham.i
Joined: 22 Aug 2010 Posts: 43
|
Difference between ccs c and microchip compiler |
Posted: Mon Jul 02, 2012 1:19 am |
|
|
Hello,
I program using ccs c from about 2 years, but now i am working for a company that program using c18 and hi tech compilers.
They told me that c18 and hi tech compilers may be more optimized.
So Please share your ideas concerning this issue.
Regards,
Hisham |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Mon Jul 02, 2012 1:23 am |
|
|
I've never used the Hi-Tech compilers -- but I have all the MCHP compilers (C18, C30, C32)...
Since CCS doesn't make a PIC32 compiler, that leaves only comparing C18 and C30.
I can tell you for a fact that the C18 compilers aren't any better (and in some cases are worse) in terms of their resulting code.
I can also tell you that C18/C30 requires you write a lot of code that's normally part of the provided function calls from CCS.
And yes, some of the standard library for C18 has gotten better over the years, but CCS still comes out as being overall "nicer to use" for whipping stuff out.
(i.e. CCS supports floats in printf where C18 does not.)
There's lots of examples, really. _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
|