Code size

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
Richard
Posts: 5
Joined: Sun Nov 05, 2006 10:19 pm
Location: michigan

Code size

Post by Richard » Tue Nov 28, 2006 1:18 am

Hi...

Hobbyist here. Wondering how compact/efficient the code is compared to say Microchip C18, ME Basic, etc.

Your compiler looks very intriging! Multiple, multiple examples are very helpful.

Thanx...Richard in Michigan.
Richard in Michigan

TimB
Posts: 262
Joined: Wed Oct 04, 2006 7:25 am
Location: London UK

Post by TimB » Tue Nov 28, 2006 8:00 am

The core compile unit produces very compact code, there are some areas where reliability was favoured over size. Particularly some of the maths handling where your working with different variable sizes.

Tthe trig maths routines are pretty much the same as CCS C and are written in Basic. SF came in about 2/3rd the size and obviously faster.

From the very little I have ever compiled of MeBasic SF will always better it.

A lot depends on the style of witting, Procedural is larger than flat. But when I look at the code produced you would be very hard put to improve it.

I do not know if you noticed but its optimised in a second pass as a matter cause.

The no 1 priority as was to produce reliable code. Further optermising of "your" will be a later feature.

Post Reply