This site is no longer active and is available for archival purposes only. Registration and login is disabled.

License and other questions.


Postby mlepage » Sep 27, 2003 @ 3:54pm

STL is the bomb, I use it all the time.

I never liked MFC for obvious reasons. It's just too horrid.

I've never used ATL. I understand it's an STL-like effort. I consider it obsolete since the STL is here.

What I mean about heavyweight, is not necessarily big/bloated/slow, but also introducing extra dependencies in my application.

Normally, I like C++, STL (and the rest of the standard library), and a main function. I include the standard C/C++, and sometimes Unix, headers. I like to know about anything else I use that isn't my code.

Back when I was writing data mining servers, that was pretty much it. They would maybe use a third party library for neural networks and like functionality, but nothing more. The servers were clean. Sure, the GUI wrapped around them was Windows to the core and had a lot of dependencies, but the servers were clean programs with almost no dependencies.

The Windows headers are extra things. MFC is extra. ATL is extra. I like to know what my app is using. And I like it to be as little as possible. I don't use the Windows file functions, I use the C ones.

Right now, my game app is using C++ with STLport. It uses a tiny bit of Windows functionality (timers for profiling, maybe something else). It uses the generic text routines. It uses GapiDraw. I wrote my own parsers, matrix library, etc. I might someday add a fixed point library, either my own or a third party one I can just drop in via source code.

This has the side effect of keeping my app well contained for potential porting. I spent the first couple of years of my professional career porting complicated Windows enterprise applications (using OLE, COM, DLLs, you name it) from Windows to five flavours of Unix for a major software vendor. So reducing dependencies is something I tend to do as second nature now.

It would perhaps be nicer if derivation from ATL was a compile-time option. Those who want/need it can enable it, others such as myself can disable it. Just a suggestion.
www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Kzinti » Sep 27, 2003 @ 5:38pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby mlepage » Sep 27, 2003 @ 6:09pm

OK if it's just an application-type object that's understandable.

I just don't want to start pulling in COM and OLE and all that jazz.
www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Kzinti » Sep 27, 2003 @ 11:52pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby adde » Oct 2, 2003 @ 5:07pm

User avatar
adde
pm Member
 
Posts: 152
Joined: Oct 9, 2002 @ 1:42pm
Location: Stockholm / Sweden


Previous

Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron