General question why must of the servers written in c and not c++ ?

This is a discussion on General question why must of the servers written in c and not c++ ? within the Networking/Device Communication forums, part of the General Programming Boards category; Hello all must of the servers out there at list web servers are written in c is there special reason ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    58

    General question why must of the servers written in c and not c++ ?

    Hello all
    must of the servers out there at list web servers are written in c
    is there special reason ?

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Because C is an awesome language that has been around since the 70's or so.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by MacGyver View Post
    Because C is an awesome language that has been around since the 70's or so.
    And even if C++ is an awesomer (word?) language, it takes a lot more than a better language to convince someone with a working product to rewrite it in a different language.

    I'm sure if they started TODAY, then it would be written in C++ - but since it's already in existence, and it's working correctly, we follow the principle of "if it's working, don't mess with it".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,993
    Quote Originally Posted by matsp View Post
    awesomer (word?)
    I believe the correct form is "more awesome."
    But all the popular web servers started pretty early, and that would mean C...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21