#C++ Class Libs?
24 messages in this thread
Judging from this thread, people have started getting SAS C++ 6.50. Is
that a reasonable assumption? If so, how is it working? I am not real
familar with C++ but might try to learn it with some experimenting.
What's the verdict?
Jim — Bug Free Development
Jim Philippou — 71171,3015 — 71171.3015@CompuServe.com
Yes, 6.50 is shipping – I got mine about a month ago. It's working very well
for me – I've started using C++ for new projects.
It doesn't come with Amiga class libraries, but I'm sure they will appear from
somewhere with time.
…Steve
If you are doing professional development in C on the Amiga, you probably
can't afford *not* to buy every update to SAS. 6.50 is no exception.
— Dale L. Larson, Intangible Assets Manufacturing
— INTERNET:dale@iam.com
Agreed in general,
commercial C development on the Amiga usualy means SAS/C. I got V6.50 1-2
months ago only to find it unuseable because of a serious bug that will be
fixed in a future patch according to SAS:
All comparisons with unsigned vars are treated as signed vars.
So x<y is not true if UBYTE x=10,y=200. Casting vars doesn't allways work
to fix the problem (cast ULONG to what??? Float???) and there are speed
problems too.
Anyway, I can only recommend the compiler for it's features and overall
quality. For a major compiler update it's normal to have minor bugs and
from my experience with Lattice/SAS, those bugs are usualy solved pretty
soon by a patch, giving you a great compiler.
Regarding C++: I can't recommend the C++ option of the SAS/C yet for
commercial development, even though, the source level debugger is able to
work with C++ in some cases (to often, not for me…). Rather, I would
save my money and go for the GNU C++ stuff on the Amiga, though, it's hard
to do commercial development with it. The C++ stuff is lacking a good
manual, classes, speed, a good class browser and more serious development
tools.
— Wolf Faust, Am Dorfgarten 10, 60435 Frankfurt, Germany —
What do you think the possibilities are of cobbling a hybrid gnu/SAS
environment? Maybe use the GNU cpp front end and SAS compiler?
Much better is to buy Comeau Computing's C++. It is a licensed port of
AT&T's CFront 3.0. Includes templates. Basically is the standard. Is
the only way to go if you want professional C++ development on the Amiga.
Requires a compiler, works well with SAS.
— Dale L. Larson, Intangible Assets Manufacturing
— INTERNET:dale@iam.com
And Comeau C++ has gotten MUCH stabler over the past incarnations. Go For IT!
Dale,
Last time I looked, Comeau didn't support 'volatile'. Now in a
multi-tasking environment, that's a pretty BIG lack.
Vic,
eeek! Isn't volatile essential in a DMA enviroment? Why is it
missing?
Brian
bjbart@watserv.ucr.edu
Brian,
not essential because of DMA, it's essential in ANY multi-tasking
system, IMO.
As for why it's not there, ask Greg.
Vic,
it does seem curious. That kills my idea of porting between the two
sides of my system. I'm using volatile on the IBM side.
Brian
bjbart@watserv.ucr.edu
Brian,
I may be fixed by now. I haven't had the energy to look lately (was
too busy with the port of StarTrek)
Brian,
Which compiler are you using. Volatile doesn't always work with
Borland C++ (yes, we filed a bug report and were told "well, it's only a
HINT to the compiler)
Volatile a HINT ???? If Borland really beleive that then PC users could be
in for a crop of unreliable programs. Register is a hint, but Volatile
most definitley is not.
Regards
Peter
Wolf,
Thanks for the bug report, we'd be _dead_ if that happened in our code.
Guess we'll have to wait 'til it's fixed <sigh>. I wonder if they've
fixed some other bugs we have found and which cause us to turn off
optimization for a few files.
What is the C++ implementation itself like? Is it ARM-compliant, complete with
everything including templates and exceptions? Do they have the iostream
classes?
Perhaps I should wait awhile until the bugs are shaken out? Since my head is
caught in the NT Window, I could afford to wait awhile. I still think Amiga DOS
is far superior to NT except for networking and security (but who need those
anyway?) NT is piggily slow.
-Fred Mitchell
I used to work for Commodore;
now I do Windows for a living.
Thanks alot Irving & Co.!
I think all of us Amiga programmers are going the way of MSoft. It
is essential to remain economically viable {from the movie Falling
Down}. Sticking with the Amiga platform is a 'very nice' thing to
do, but ultimately it falls on the marketing ability of C= to really
provide a market for our software.
Personally I feel as if the big C is failing us to some degree. I
have a 486 PC at home and have begun writing some database code in
C++. I use the PC more and more for real applications and use the
Amiga for playing and hacking. I still like AmigaDos w/Exec over
Windows 3.1, but the money is in the PC arena, not in the Amiga
three-ring-circus. I'm doing some consulting work tonight, standard
PC setup and installation including installing a Novell network,
BINGO!
Just my Peas and Queues,
>> Mike Uman
>> Oxxi Tech Support
Yep. I agree. Just ordered my 486/66 DX2 w/16 megs of RAM, a VLB SCSI card,
and a graphics accelerator that will do 1280x1024x256. All for less than a
4000. Grrrr. I wanted to buy that too, but no market.
Even though Windows is a Pane in the Butt and nothing to Storm over, I do like
all those nifty GUI tools and tons of support from MS. Just upgraded my
developer status to 2nd level so I can get all of the DDK stuff. And NT is a
golden pig.
I have lots of idea for new and innovative software, but I'm doing them on the
PC. Hell, I bet NT has a bigger installed base by now than the 4000. And
growing all the time.
Yep. Had to feed the kids and keep the wife happy. Windows is doing that for
me, in a big way. I am consulting full time making a respectable number of $$$$
per hour, more than I could conjure up in the Amiga market. Much more. And I'm
just doing booring front-ends to databases. Barely a challenge (which leaves my
brain free for REAL stuff!!!) And there's a BIG demand for competent Windows
programmers. So even though I cry, I cry all the way to the bank. Then I smile.
My own pet peeves.
-Fred Mitchell
I used to work for Commodore; now I do Windows for a living!
Thanks alot Irving, Meddi, and the rest of the assorted C= UM Clustre F*****g
glitterati!
Mike,
If you really like the Amiga OS, you might wanna pick up OS/2. It's a
rather nice OS (beats the heck out of Windoze).
Of course, you'll soon discover that PM (Presentation Manager) only
supports 'simple refresh'.
>PM only supports simple refresh
But on the flip side, PM doesn't block output while you are looking at the
menus.
…Steve
Steve,
Hah!
>>PM doesn't block output…looking at menus.<<
I'm glad someone brought it up. I didn't want to.
Being the Amiga preacher I am…
Robb
Its working well for me. Their editor se picked up some bugs, but I'm one
of the few people that use se. 😉
//
\X/ Amiga or bust! Gary Bonnstetter, Bonnsoft
Gary,
Do you have an example of a screen mode requester?
Jim
Jim — 71171,3015 — 71171.3015@CompuServe.com
Sorry Jim,
I'm not doing anything with screen modes and I didn't see anything obvious
in the RKRM examples I have.
//
\X/ Amiga or bust! Gary Bonnstetter, Bonnsoft