Haha!!!(Webserver)

I'm back! After a long trek though desert, mountains, and strange lands I have returned to nerdsville! We all come back eventually...well not really.

Well, seeing that Lundin is still the moderator, I have to make some point to this post. Is C a good language for server based web-apps?

(Obsiously it is!, but lol, I have to ask something)

Well, seriously, are there any drawbacks?

Comments

  • : I'm back! After a long trek though desert, mountains, and strange
    : lands I have returned to nerdsville! We all come back
    : eventually...well not really.
    :
    : Well, seeing that Lundin is still the moderator, I have to make some
    : point to this post. Is C a good language for server based web-apps?
    :
    : (Obsiously it is!, but lol, I have to ask something)
    :
    : Well, seriously, are there any drawbacks?

    You have to compile your code for each platform seperately.
  • : : I'm back! After a long trek though desert, mountains, and strange
    : : lands I have returned to nerdsville! We all come back
    : : eventually...well not really.
    : :
    : : Well, seeing that Lundin is still the moderator, I have to make some
    : : point to this post. Is C a good language for server based web-apps?
    : :
    : : (Obsiously it is!, but lol, I have to ask something)
    : :
    : : Well, seriously, are there any drawbacks?
    :
    : You have to compile your code for each platform seperately.

    Lol, heartless and cold as usual. *tears up* I love you guys...

    Thats no problem, only one platform here. But I have to do threading myself...or can it just be independent calls?(I a noob at web stuff...)
  • : : : I'm back! After a long trek though desert, mountains, and strange
    : : : lands I have returned to nerdsville! We all come back
    : : : eventually...well not really.
    : : :
    : : : Well, seeing that Lundin is still the moderator, I have to make some
    : : : point to this post. Is C a good language for server based web-apps?
    : : :
    : : : (Obsiously it is!, but lol, I have to ask something)
    : : :
    : : : Well, seriously, are there any drawbacks?
    : :
    : : You have to compile your code for each platform seperately.
    :
    : Lol, heartless and cold as usual. *tears up* I love you guys...
    :
    : Thats no problem, only one platform here. But I have to do threading
    : myself...or can it just be independent calls?(I a noob at web
    : stuff...)

    That depends on how you want to code it. If you want to embed a webserver in another application, then you need to do threading. If you write your web-apps as CGI applications, then each web-app is its own process with the output redirected to the webbrowser. Thus no threading necessary, but other drawbacks as you might have guessed.
  • : Is C a good language for server based web-apps?
    Generally, no.

    : Well, seriously, are there any drawbacks?
    Security for one. You've got a whole load of data coming in from potentially malicious users. It's a buffer overrun waiting to happen. OK, you may be the world's best C programmer, but the fact that the language makes this kinda thing possible when there are others that don't kinda counts against C for this situation.

    Also, if you want to be competitive in the market place, a higher level language will allow you to develop stuff much more rapidly. Many languages save you the compilation phase too, which again boosts productivity.

    My 2 centimos. :-)

    Jonathan
    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories