Re: google "top coder" contest = stacked against C++ coders

From: White Wolf (wolof_at_freemail.hu)
Date: 10/03/04


Date: Sun, 3 Oct 2004 23:53:22 +0300

assaarpa wrote:
>> In a well design OS you do not need all that.
>
> True, but not all very widely used OS are well designed. ;-)
>
>> Why do you take this as an attack against you?
>
> Don't worry: I didn't, I appreciate your opinion and views but don't
> agree some of the conclusions.
>
>> Did you design how DLLs work in Windows?
>
> The point I am driving at is that it is well and good to know the C++ and
> how it works and how things *should* behave, but those are just
> guidelines which should be followed to have a shot at correctly behaving
> software. Guidelines which are very, very important as not following
> them has dramatic side effects like demons flying out of the nose.. but
> at end of the day, you still have to know the platform and architechture
> you are compiling for, there is no substitute for competence.

IOW: C++ does not define how dynamic linking OR multithreading works or does
not with C++. So there aren't even guidelines. Some companies choose to
make systems which makes it simple to work, some made systems where it is
harder.

> It is possible to write 100% conforming C++ sourcecode, which doesn't
> work on a very widely deployed platform: Windows.

??? As soon as you are using dynamic linking or MT it is NOT 100%
conforming code.

> If this is good or bad
> I don't care to take a stance on, just stating the fact: nothing more
> nothing less. I am not taking this personally, but facts are facts,
> sometimes the reality just manages to elude some of the very optimistic
> people here. ;-)

But let's ask yourself honestly. If there are many OSes where it is easy to
do... is it a problem with C++ or is it a problem with Windows? And is it a
problem Microsoft tries to make into your problem instead of solving, or is
it primarily your problem to solve?

> It is different to write code that invokes undefined behaviour, and code
> that doesn't but still doesn't work. The former is poor software
> engineering and, well, so is the later -- but -- for the context of this
> NG, irrelevant, thus, I admit that I been ranting about inconsequential
> off-topic platform specific implementation detail (in otherwords, I'm
> wrong).

The trouble is, that as soon as you do dynamic linking or MT you are not
doing standard C++ and all bets are off. Then again: some companies made
those things easy on the people, some did not.

-- 
WW aka Attila
:::
The things that come to those who wait may be the things left by those
that got there first. 


Relevant Pages

  • Re: google "top coder" contest = stacked against C++ coders
    ... >> In a well design OS you do not need all that. ... C++ does not define how dynamic linking OR multithreading works or does ... > work on a very widely deployed platform: ... I am not taking this personally, but facts are facts, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: google "top coder" contest = stacked against C++ coders
    ... > In a well design OS you do not need all that. ... which should be followed to have a shot at correctly behaving software. ... on a very widely deployed platform: ... I am not taking this personally, but facts are facts, sometimes the reality ...
    (comp.lang.cpp)
  • Re: google "top coder" contest = stacked against C++ coders
    ... > In a well design OS you do not need all that. ... which should be followed to have a shot at correctly behaving software. ... on a very widely deployed platform: ... I am not taking this personally, but facts are facts, sometimes the reality ...
    (alt.comp.lang.learn.c-cpp)
  • Yes I am more educated than you, jealous?
    ... Education is NOT a collection of facts you memorize - for that matter you teach a monkey to put bananas in a certain pattern, memory is en essential but not the only ingredient. ... Will someone hire you to design, say a long-haul optofiber Links to replace 1Mbps LAN, yes you know networking but it's a trade you know. ... DO oyu know the difference between a job/trade & a a profession? ... But no matter how many cables oyu connect dear, you're not a design engineer. ...
    (microsoft.public.windows.vista.general)
  • BLATANTLY SELF-PROMOTING MESSAGE
    ... Education is NOT a collection of facts you memorize - for that matter you teach a monkey to put bananas in a certain pattern, memory is en essential but not the only ingredient. ... Will someone hire you to design, say a long-haul optofiber Links to replace 1Mbps LAN, yes you know networking but it's a trade you know. ... DO oyu know the difference between a job/trade & a a profession? ... But no matter how many cables oyu connect dear, you're not a design engineer. ...
    (microsoft.public.windows.vista.general)