TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2,comp.sys.apple2.pro
from: aiiadict
date: 2008-04-15 14:49:10
subject: Re: Aztec C: C ++??

In article ,
Byron Desnoyers Winmill  wrote:


> In article  you wrote:
> : does anybody know of a C++ compiler for the Apple II series, or
> : indeed for any 6502/65C816 series?

> There is a C cross compiler at http://www.cc65.org/ which supports
> a number of 6502 machines.  I haven't tried it though.



Aztec C had two versions which could be run on the Apple II: one
native Apple II version, and another version for CP/M which could be
ran on Apple II's with a suitable Z80 card.

And then you can run AT&T's Cfront, which converts C++ to C.  Yep,
that's the way early C++ compilers worked: they compiled C++ into
(quite unreadable, but compliable) C, and then you ran that C code
through your regular C compiler.


Is this enough to state "Yes there is C++ for the Apple II" ?



> As for C++, why the heck would anybody want to program in that
> mutant language?  There are plenty of other good OOP languages
> out there.


There are several reasons.  The two most important reasons are:

1. Run-time efficiency -- most of those "other good OOP languages"
run quite slowly compared to C++.


2. Source code availability -- most of those "other good OOP
languages" have a small code base compared to C++.


C++ is indeed not a "pure OOP" language though, which make a lot
of OOP purists frown at it.  So if you're an OOP purist - don't use
C++.  But if you're a pragmatist, you might find C++ interesting.


Finally, for ANY programming language, one can say: "Why the heck
would anybody want to program in that language?  There are
plenty of other good languages out there."


There are ALWAYS "plenty of other good languages", and no matter
what one chooses, one could have made a different choice.


--
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se   or    paul.schlyter at ausys dot se
WWW:     http://hotel04.ausys.se/pausch    http://welcome.to/pausch
--- SBBSecho 2.12-Win32
* Origin: Derby City BBS - Louisville, KY - derbycitybbs.com (1:2320/100)
SEEN-BY: 10/1 3 14/300 34/999 90/1 106/1 120/228 123/500 134/10 140/1 222/2
SEEN-BY: 226/0 236/150 249/303 261/20 38 100 1404 1406 1410 1418 266/1413
SEEN-BY: 280/1027 320/119 393/11 396/45 633/260 267 712/848 800/432 801/161
SEEN-BY: 801/189 2222/700 2320/100 105 200 2905/0
@PATH: 2320/100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.