[futurebasic] Re: [FB] Radio Buttons

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <pepetoo@...>
Date: Fri, 18 Jan 2008 22:07:58 -0800

You've been doing an outstanding job of monitoring this list. So  
patient and helpful. At times you amaze me. Thank you.

Also, very happy to know about the optimizing of the FBtoC Compiler.  
I knew this was discussed, but never knew for sure whether Staz had  
done it or not; anyway, I never wrote 10 line programs. Doesn't  
matter now. (smile)

Joe Wilkins
On Jan 18, 2008, at 9:44 PM, Brian Stevens wrote:

> On Jan 18, 2008, at 10:33 PM, Joe Lewis Wilkins wrote:
>> At some point, I thought code that was not used was weeded out  
>> when we built applications, so it really didn't hurt to include  
>> almost everything. I don't know if that is the case now. ANYONE?
> No, that was never true with FB. It is not and was never an  
> optimizing compiler. Staz talked about the *possibility* of adding  
> it years ago, but it never happened. Didn't you ever wonder why  
> your small 10 line FB program compiles to 340k? No optimization and  
> no dead code stripping is the reason.
> The good news: FBtoC using gcc is an optimizing compiler (meaning  
> it can make the code faster and smaller) and it can also eliminate  
> dead code (i.e. code that is not executed ever and isn't needed).   
> This was what you were describing Joe with being able to include  
> code without having to worry if it was needed because the compiler  
> removes it.  There are preference options in FBtoC to accomplish  
> all of the above. That same 10 line FB program compiled with FBtoC  
> is closer to 40 to 60k.
> Brian S.
> --
> To unsubscribe, send ANY message to: futurebasic- 
> unsubscribe@...