Re: Other C64/128 C compilers? [message #209928 is a reply to message #209924] |
Wed, 05 June 2013 20:49 |
|
Originally posted by: <silverdr
"Bill Buckels" <bbuckels@mts.net> wrote:
> "SD!" <silverdr@wfmh.org.pl.remove.it> wrote:
> .
>> Yup - that one burns.
>
> Obviously there seems not be room for a different opinion here, even from
> someone who wrote in C for a living for 30 years. It's not meant to burn...
> it's another point of view.
The lack of floats problem is a "burning" problem of cc65 IMHO.
>> I think "we" really should move our butts and implement those, one -
>> preferably not too distant - day.
>
> On which platforms?
6502 and some derivatives
> To what precision and will you implement floats only or
> doubles as well.
I don't know. Probably first things first.
> What about the math library... best have a look at Aztec C
> before you start... it might be more work than what it's worth to you.
Ok, but... Where is the fun then? ;-)
--
SD!
|
|
|
Re: Other C64/128 C compilers? [message #209929 is a reply to message #209928] |
Thu, 06 June 2013 08:49 |
Groepaz
Messages: 640 Registered: December 2011
Karma: 0
|
Senior Member |
|
|
silverdr@wfmh.org.pl.remove.it wrote:
>> Obviously there seems not be room for a different opinion here, even from
>> someone who wrote in C for a living for 30 years. It's not meant to
>> burn... it's another point of view.
>
> The lack of floats problem is a "burning" problem of cc65 IMHO.
not sure about that really.... floats are terribly slow on 8bit platforms, i
never really missed them at all - there is nothing you cant do without them
:)
>> To what precision and will you implement floats only or
>> doubles as well.
>
> I don't know. Probably first things first.
its a funny question - because there is only one standard for floats in C =)
and doubles.... jesus. what for?
>> What about the math library... best have a look at Aztec C
>> before you start... it might be more work than what it's worth to you.
changing the libraries that come with aztec-c into something that is halfway
standard compliant and doesnt involve ugly hacks all over the place - now
that is indeed more work than it is worth =P
--
http://www.hitmen-console.org http://magicdisk.untergrund.net
http://www.pokefinder.org http://ftp.pokefinder.org
It is practically impossible to teach good programming to students that have
had a prior exposure to BASIC; as potential programmers they are mentally
mutilated beyond hope of regeneration.
<Edsgar W. Dijkstra>
|
|
|
Re: Other C64/128 C compilers? [message #209937 is a reply to message #209929] |
Sun, 09 June 2013 17:56 |
|
Originally posted by: <silverdr
Groepaz <groepaz@gmx.net> wrote:
>>> Obviously there seems not be room for a different opinion here, even from
>>> someone who wrote in C for a living for 30 years. It's not meant to
>>> burn... it's another point of view.
>>
>> The lack of floats problem is a "burning" problem of cc65 IMHO.
>
> not sure about that really.... floats are terribly slow on 8bit platforms, i
> never really missed them at all - there is nothing you cant do without them
> :)
Well.. There is nothing you can't do without a C compiler either ;-)
In fact, generally I agree with you but floats are C standard. And lack of
them is one of the most visible deviations. I'd prefer compiler warning
"this is going to be slow, please consider moving your decimal point and
using ints" ;-) rather than an error message.
--
SD!
|
|
|
|