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.
Code size
Moderators: David Barker, Jerry Messina
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.
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.