Thread: Another version of cross-platform

  1. #1
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875

    Another version of cross-platform

    As anyone who has been around a while knows, coding good, solid and robust cross-platform solutions can be a non-trivial task, particularly when you get into graphics or parallel processing for example. However I am learning of an even tougher situation to deal with, not just cross-platform solutions but cross-development and cross-temporal solutions. By that I mean having to maintain a code-base that has seen:
    1. At least 3 OSs
    2. At least 5 development environments.

    IOW this is a code-base that was working on DOS, Win31, WinNT, another custom OS (due to hardware) and finally various flavors of UNIX. I have seen evidence that this once worked under TurboC, Borland C/C++ 3.0/3.1, some vintage of VisualC++ (still had message "crackers"), GCC and something called EvoX. More, I have seen evidence of coders that were good at OOP, bad at OOP, C-only, Windows-only and now UNIX only. All in the same file. What amazes me is that it all still works...and what depresses me is that it all still works. If it did not, we would have the excuse for management to bin the cruft and recode key system elements to take advantage of language elements that have been introduced ...in the past 10 years... so its not enough (when troubleshooting) to get your head into the DOS or Windows or Linux mind-set, you have to get your head into the mindset of the typical coder of yesteryear...compared to this, doing what we normally assume to be cross-platform development is downright easy...

    No real question, more of a rant. I have been doing this for a long time but never really had to deal with more than a few environments at once before this....
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Try cross-language some time .

    What if they suddenly decide to make C illegal?

    You'll want your code to compile and work as Java code, too.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. a online cross platform compiler?!
    By Masterx in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-31-2009, 05:31 PM
  2. Cross platform multithreading
    By Bargi in forum C Programming
    Replies: 7
    Last Post: 10-19-2008, 07:26 AM
  3. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 03:42 PM
  4. Dev C++ Version 5
    By Zoalord in forum C++ Programming
    Replies: 3
    Last Post: 08-30-2003, 01:56 PM
  5. cross version
    By ZerOrDie in forum Windows Programming
    Replies: 2
    Last Post: 01-27-2003, 06:00 PM