Slashdot Mirror


User: Gsson

Gsson's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Does the choice compiler really matter... on Coding Classes & Required Development Environments? · · Score: 2

    ...if you're writing your code portable?

    Never use any compiler specific extensions and compile everything with something like
    g++ -Wall -pedantic -ansi

    As long as the other compiler is ansi compliant you shoulnd't have any problem.

    I've done this lots of times. To name a few:
    * Using Visual C++ for developing for a HC16 processor (just recompiling with the appropriate compiler later. Created a massive HAL/HEL for that, but since the hardware prototype wasn't done yet I saved the company lots of time by being able to have code up and running before the hardware could even power up.)

    * Using g++ for developing windows apps (did the algorithms in g++, doing the hardware specific stuff in VC++)

    * UN*X (Solaris actually) programming using VC++. Since it was console only, the only thing I needed to do was recompile the code. No errors, no warnings, and a fully working program.

    Unless you have to write platform specific code ofcourse, but if you're set on using g++ as development platform an emulation layer isn't that hard to implement.

    I say, try to write code as portable as possible! Don't rely on nonstandard libraries. Unless they're ported already or you want to implement them yourself under the new platform.

  2. Netiquette? on A Bit About Freshmeat · · Score: 1

    I thought Linux users, and especially Linux users that find the content on Freshmeat interesting, were the 'upper-class' of the 'Net, thus having some kind of knowledge of the most basic rules of behaviour on the net, namely the netiquette.

    I'm sad to see I was wrong.

    //Henrik Gustafsson