Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » Other C64/128 C compilers?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Other C64/128 C compilers? [message #209928 is a reply to message #209924] Wed, 05 June 2013 20:49 Go to previous messageGo to next message
Anonymous
Karma:
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 Go to previous messageGo to next message
Groepaz is currently offline  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 Go to previous messageGo to next message
Anonymous
Karma:
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!
Re: Other C64/128 C compilers? [message #209942 is a reply to message #209937] Tue, 11 June 2013 18:10 Go to previous message
Groepaz is currently offline  Groepaz
Messages: 640
Registered: December 2011
Karma: 0
Senior Member
silverdr@wfmh.org.pl.remove.it wrote:

> Well.. There is nothing you can't do without a C compiler either ;-)

i have to disagree - for the really obscure bugs and their mind boggling
workarounds.... you really need an ancient k&r compiler =)

> 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.

yeah, they should be there.... maybe some day :) i'd rather try to locate
one or two more optimizer bugs though :)

--

http://www.hitmen-console.org http://magicdisk.untergrund.net
http://www.pokefinder.org http://ftp.pokefinder.org

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Pages (2): [ «    1  2]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Commodore/Amiga at Bay Area Maker Faire, May 18-19
Next Topic: FA: Commodore PET 4032 and SX-64
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Sep 22 12:11:26 EDT 2024

Total time taken to generate the page: 0.02272 seconds