CPCWiki forum

General Category => Programming => Topic started by: Mochilote on 23:40, 24 May 12

Title: Definitive comparison between SDCC and z88dk...
Post by: Mochilote on 23:40, 24 May 12

Hi, i have prepared a comparison of the two compilers which I think is interesting:


SDCC vs z88dk: Comparing size and speed of the binaries generated for Amstrad CPC (http://www.cpcmania.com/Docs/Programming/SDCC_vs_z88dk_Comparing_size_and_speed.htm)


Regards.
Title: Re: Definitive comparison between SDCC and z88dk...
Post by: arnoldemu on 09:02, 25 May 12
Quote from: Mochilote on 23:40, 24 May 12
Hi, i have prepared a comparison of the two compilers which I think is interesting:


SDCC vs z88dk: Comparing size and speed of the binaries generated for Amstrad CPC (http://www.cpcmania.com/Docs/Programming/SDCC_vs_z88dk_Comparing_size_and_speed.htm)


Regards.
nice comparison.

btw blue angel 69 used z88dk and interrupts ;)
but if I use c again I will use sdcc.
Title: Re: Definitive comparison between SDCC and z88dk...
Post by: Mochilote on 09:15, 25 May 12
Quote from: arnoldemu on 09:02, 25 May 12
btw blue angel 69 used z88dk and interrupts ;)


I do not say that interruptions do not work, I say they are disabled by default and therefore can not use certain things, like KL TIME PLEASE and also works differently in different versions of z88dk.
I had a interesting conversation with z88dk developers on this issue, take a look at this post: http://www.z88dk.org/forum/viewtopic.php?id=4855 (http://www.z88dk.org/forum/viewtopic.php?id=4855)


regards.
Title: Re: Definitive comparison between SDCC and z88dk...
Post by: arnoldemu on 14:02, 25 May 12
Quote from: Mochilote on 09:15, 25 May 12

I do not say that interruptions do not work, I say they are disabled by default and therefore can not use certain things, like KL TIME PLEASE and also works differently in different versions of z88dk.
I had a interesting conversation with z88dk developers on this issue, take a look at this post: http://www.z88dk.org/forum/viewtopic.php?id=4855 (http://www.z88dk.org/forum/viewtopic.php?id=4855)


regards.
ok sorry I was confused about this.
Title: Re: Definitive comparison between SDCC and z88dk...
Post by: Mochilote on 09:24, 27 May 12
Quote from: arnoldemu on 14:02, 25 May 12
ok sorry I was confused about this.


Do not worry, I modified the paragraph as it was not well understood (by several people):


Title: Re: Definitive comparison between SDCC and z88dk...
Post by: Optimus on 14:30, 28 May 12
That was very interesting!


I was thinking about testing other C compilers so that maybe they performed better than SDCC and I wasn't aware. But now I know that SDCC is definitely the best choice and I don't need to try z88dk or others yet (except if they are improved dramatically in the future).


Thanks for the comparisons!
Powered by SMFPacks Menu Editor Mod