Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Ransom on January 25, 2003, 08:19:06 PM

Title: StormC 3.0 and STL
Post by: Ransom on January 25, 2003, 08:19:06 PM
Hello everybody...

I was just about to start up my first project using C++ on the Amiga, but much to my suprise I seem unable to find an STL implementation for Storm C 3.0. Does anyone have any idea where I might find one??

Regards,
Michael Barkholt / Ransom/IRIS
Title: Re: StormC 3.0 and STL
Post by: Castellen on January 26, 2003, 02:29:32 AM
It's a commercial product, Haage & Partner sell it.
Not the cheapest at 600DM or whatever it costs.

On a slightly different note, does anyone know where I can get the version 6.50
SAS/C compiler??
Steve Kruger's SAS/C site is not working.

Or it would be much appreciated if someone could send me an LHA of it.

Cheers.
Title: Re: StormC 3.0 and STL
Post by: DaveP on January 26, 2003, 07:57:02 AM
@Ransom

You can download STL for free from

STL from SGI (http://www.sgi.com/tech/stl/download.html)

...and adapt it for your purposes if you find problems.

I prefer NOT to use STL for anything myself. I have my own container classes which work much nicer for application construction that STL does ( IMO ).
Title: Re: StormC 3.0 and STL
Post by: nyteschayde on January 26, 2003, 10:10:28 AM
The STL containers have a crappy interface but they are highly optimized. The problem being the creator having some issues with the idea of object oriented programming. The SAS/C 6.5 suite doesn't include STL support either.

Only the newest StormC releases (>3.0) have STL support.

Good luck
Title: Re: StormC 3.0 and STL
Post by: Ransom on January 26, 2003, 11:51:15 AM
Well, I agree they are a bit odd to work with, especially since I am used to the Java library when working object-oriented.

But are there any alternatives to STL out there, ie. open datastructure/algorithm collections with the same multiplatform dedication?
Title: Re: StormC 3.0 and STL
Post by: Treke on January 26, 2003, 03:02:15 PM
Quote
You can download STL for free from

STL from SGI

...and adapt it for your purposes if you find problems.


Yep, SGI STL is one of most robust i have seen (has even hashed associations, hash_map, etc...).
I guess, STL is the way to follow, it allows  to write classes being easily used by its sequences and associations, and it's reliable, optimised, code is portable, every1 has access to its sources, the shared development goes faster, etc, etc ...

Maybe the main drawback is, that amiga developers haven't a quality RAD tool for development (as for example Visual Studio .NET or Borland Builder). Btw, what happened to AmIDE after it went open source?

re

Treke
Title: Re: StormC 3.0 and STL
Post by: DaveP on January 26, 2003, 03:09:21 PM
I disagree, I think Hisoft C++ has a wonderful IDE. :-D
Title: Re: StormC 3.0 and STL
Post by: Karlos on January 28, 2003, 11:36:24 AM
Quote

Ransom wrote:
Hello everybody...

I was just about to start up my first project using C++ on the Amiga, but much to my suprise I seem unable to find an STL implementation for Storm C 3.0. Does anyone have any idea where I might find one??

Regards,
Michael Barkholt / Ransom/IRIS


Given some of the problems I've encountered using StormC v3's template support, I'd be frankly rather surprised if it could cope with a full STL.

As a C++ compiler, StormC v3 has some major flaws, which I mentioned in another post

http://www.amiga.org/forums/showthread.php?t=525

If anybody does have success using an existing STL with StormC v3 I'd be interested to hear..