Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 06:50:49 18:50


Login with username, password and session length


Pages: [1]
Print
Author Topic: Smallest generated code  (Read 2407 times)
0 Members and 1 Guest are viewing this topic.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 67



« on: April 22, 2010, 08:45:56 20:45 »

What is your opinion :
which one of these compilers generates the smallest final code?
PicBasic Pro, Proton+, MikroBasic, Basic Stamp...

Best regards
Logged

A known mistake is better than an unknown truth.
oldvan
V.I.P
Senior Member
*****
Offline Offline

Posts: 375

Thank You
-Given: 152
-Receive: 106


If the van is a Rockin'...


WWW
« Reply #1 on: April 22, 2010, 09:47:18 21:47 »

I'd say this question is hard or even impossible to answer authoritatively, as it will depend to a huge extent on the piece of code being compiled.  One could also inquire which compiler produces the quickest code, but it also depends on the nature of the program being compiled.

I'd suggest finding a fairly large program you've written and compiling it under each compiler.  Post the results for all to see. 

Luckily, the price of larger chips has fallen over the past few years so that what once seemed like HUGE programs now occupy 1/4 or even 1/32 of the ROM in chips available for the same $$$.
Logged

Give a man a fish and you feed him for a day.
Teach a man to fish and he will sit around in a boat drinking beer all day.
gem1144aaa
Junior Member
**
Offline Offline

Posts: 88

Thank You
-Given: 134
-Receive: 27


« Reply #2 on: April 22, 2010, 10:02:32 22:02 »

What is your opinion :
which one of these compilers generates the smallest final code?
PicBasic Pro, Proton+, MikroBasic, Basic Stamp...

Best regards

Hi you can check this link

http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.Comparison

its a real comparison between what you named ,i'm waiting to see your impression
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 67



« Reply #3 on: April 22, 2010, 10:52:18 22:52 »

Hi you can check this link

http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.Comparison

its a real comparison between what you named ,i'm waiting to see your impression
yes it IS real comparison between compilers and answers a lot of questions I have been asking my self
Logged

A known mistake is better than an unknown truth.
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #4 on: April 23, 2010, 06:17:37 18:17 »

Looking at the version numbers on this test and how old the versions are I would not call it a good comparision I don't know what version Swordfish (and only Pic18F) is at now but I know all the others have been improved greatly since this test(2 years old) even PicBASIC PRO has been upgraded after years of no improvements so I wouldn't use the results here and do as Oldvan suggested ,I'am sure you'll see something quite different

•Swordfish BASIC - Version 1.1.4.8
•CCS C (PCH) - Version 4.02
•MikroElectronika BASIC - Version 5.0.0.2
•PROTON BASIC- Version 3.2.5.5
•PicBASIC PRO- Version 2.47
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #5 on: April 28, 2010, 03:10:25 15:10 »

I am wondering why David abandoned testing with PICC and PICC18 from Hi-Tech?
Logged

nothing to say..
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC