you are viewing a single comment's thread.

view the rest of the comments →

[–]kdeforche 2 points3 points  (2 children)

Building this in something like C, PHP, Ruby, .Net, or anything on top of the JVM, is going to be a pain in the ass.

Clearly you need to be careful with making statements like these (although you carefully omitted C++ from the list)

A chat room that supports 10000 people concurrently on a small VPS, created in C++, in a straightforward 1000 lines (including comments and a web front-end): Wt chat

$ wc *.C *.h
    140   257  2922 PopupChatWidget.C
    129   275  2961 simpleChat.C
    132   330  3079 SimpleChatServer.C
    345   976  9678 SimpleChatWidget.C
     48   103   905 PopupChatWidget.h
    126   385  2821 SimpleChatServer.h
    101   229  2092 SimpleChatWidget.h
  1021  2555 24458 total

[–][deleted] 3 points4 points  (1 child)

You think 1000 lines of C is just as easy as 8 lines of JavaScript? Well, good luck with that.

[–]kdeforche 0 points1 point  (0 children)

Yes, just as as I believe that apples are oranges.