View Single Post
Old Aug 17th, 2005, 6:45 AM   #14
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
it is called 'porting' and it is something most programmers have to deal with (why do you think Java, with it's promises of portability, became so popular ). If you know ahead of time that your software will run on multiple platforms, you should plan for this. In C++, for example, stick with the standard (which will by no means make the program completely portable, but a lot easier than otherwise).

I wrote a dll that runs fine on most versions of Windows. Now, 13 months later (and I am the kind of fella that usually by noon can't remember what he had for breakfast ), someone wants to run it on CE. Uh-oh.. I used <vector> and <list> from the standard template library. Apparently, although standard, this is not gonna compile. Now I have to go back and replace those, so it is a damn good thing that I have a fairly well though out design and clean cut interfaces. One look in the class diagram and I know exactly what needs to be changed and where. (well, it is not THAT simple, but you get the idea )

Using Java is a big step towards portability in itself. (although other languages boast a high level of portability too ).

There are lots of websites that cover portability issues of the different languages on different platforms. Usually it is the same ol' - same ol'. Rarely does one find something truly 'new', so google around and you should find what you need.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty

Last edited by stevengs; Aug 17th, 2005 at 6:56 AM.
stevengs is offline   Reply With Quote